Template:Hoverimage

From QED

Revision as of 04:36, 9 July 2008 by Peak (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


Syntax: hoverimage|anchor|href|image|caption

where:

  • anchor is the text or image that is to serve as anchor for the href and image
  • href is a URL for the hyperlink
  • image is a URL or path to an image file
  • caption (optional) is the caption to be shown below the flyover image.

If href is omitted, the corresponding vertical line must still be included, e.g.

{{hoverimage|Hover here for a SARS image||/images/transcluded/New_Global_Threat_-_Death_from_SARS.jpg }}

produces: Hover here for a SARS image

To specify that the anchor itself be an image, use the HTML <img> tag (embedded within <html> ... </html>), as illustrated in the examples.

Limitation

Currently, the flyover effect may not work in IE6. Please consider upgrading or using another browser.

Examples

See the description page.

See also

  • Help:flyover — a simpler-to-use alternative for uploaded images and for pages in the Image: namespace that use transclusion.


Personal tools