Help:imagemap

From QED

Revision as of 23:35, 27 November 2007 by Peak (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Contents

Syntax

See Syntax description.

Notes:

  1. All poly specifications must be given before other shape specifications.
  2. Units are in pixels.
  3. Point co-ordinates are given as X Y pairs, where 0 0 is the top left-hand corner, and X is the horizontal pixel count.

Tools

An online interactive tool for generating the complete imagemap specification is available here.

XMap is a free HTML map editor for Windows.

Example

<imagemap>
Image:Foo.jpg|200px|picture of a foo
poly 131 45 213 41 210 110 127 109 [[Display]]
poly 104 126 105 171 269 162 267 124 [[Keyboard]]
rect 15 95 94 176   [[Foo type A]]
# A comment, this line is ignored
circle 57 57 20    [[Foo type B]]
desc bottom-left
</imagemap>

generates

DisplayKeyboardFoo type AFoo type B
picture of a fooAbout this image

See also

Personal tools