Help:Flyover

From QED

Revision as of 09:11, 23 September 2007 by Peak (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search
Help
Related topics
A flyover image is one that is only displayed while the mouse cursor hovers over a hotspot such as this
Acid Rain in Europe, 1993
or this thumbnail:



Acid Rain in Europe, 1993

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

Contents

Notes for Editors

The <flyover> tag is a local (QED) extension for creating a flyover image based on uploaded or certain transcluded images. The flyover image can be activated either by text or a thumbnail of the same image.

Syntax

<flyover src=SRC caption=CAPTION max=MAX x=X y=Y>ANCHOR</flyover> 

All the parameters are optional.

The ANCHOR will be displayed as a hyperlink to Image:SRC, and a flyover (hover) image with the specified CAPTION and size will be created.

For uploaded files, the size of the flyover image is specified by X, Y, and MAX, as described below.

For transcluded images, the associated thumbnail will be displayed.

If ANCHOR is specified as =, then the flyover is attached to a thumbnail of the image.

Size of the Flyover Image

The image is resized using the geometry specification (X,Y), where X and Y specify the maximum number of pixels horizontally and vertically respectively. Normally, X and Y are given implicitly by specifying MAX or by not specifying X, Y, or MAX (see below).

Defaults:

  • ANCHOR defaults to SRC;
  • CAPTION defaults to SRC less any trailing filetype;
  • MAX defaults to 150;
  • X and Y default to MAX

Examples

<flyover src="Acid Rain in Europe, 1993.png">=</flyover>

generates:


Acid Rain in Europe, 1993


<flyover src="Acid Rain in Europe, 1993.png" MAX=500></flyover>

generates:

Acid Rain in Europe, 1993.png
Acid Rain in Europe, 1993

See also

Personal tools