Electrifier authoring uses simple HTML attributes.
To display a still picture, use the <embed> tag to specify the filename, which should end with ".qdgx". Still pictures are automatically smoothed (antialiased). You can use the <noembed></noembed> tag to specify an alternate block of HTML to display if the client doesn't have Electrifier.
For example, the statement <embed src="logo.qdgx" width=288 height=288 scale=90> will draw a picture named logo.qdgx at 90% of its normal size if the client has Electrifier installed. The picture will be centered inside its rectangle, which has a width and height of 288 pixels.
The statement <embed src="logo.qdgx" width=288 height=288 scale=90><noembed><img src="logo.jpg"></noembed> will draw logo.qdgx as above if the client has Electrifier installed, and will draw logo.jpg otherwise.
To animate a picture, use the "stretch" and/or "spin" attributes. The plug-in will animate the picture from the start size and angle (as specified using the "scale" and "rotate" attributes) to the end size and angle (as specified using the "stretch" and "spin" attributes).
The "move", "loop" and "time" attributes can be used to select additional options, including perspective. The "trails" attribute lets you set whether the animation leaves a trail of old images behind╤this can be used with translucent pictures and the "stretch" attribute to produce a "warp speed" effect.
Memory Requirements
The plug-in uses as little memory as possible. If other applications request memory that is being used by the plug-in, the plug-in will reduce its memory requirements appropriately (at the expense of speed and/or quality). If the picture is being animated, it may appear to flicker if memory is low.
Specifications
Notes
Ñ When uploading a file with Fetch, select Raw Data from the Default non-text format pop-up menu in Upload Preferences.
Ñ Your server must be configured to recognize pictures in Electrifier format. Consult your server documentation for information on configuring MIME types. The MIME type/subtype is "image/x-qdgx" and the suffix is "qdgx".
Ñ If the perspective effect is extreme, the plug-in may crash. Use the "scale" command to reduce the size of the picture so that the perspective effect is reduced.
Required attributes
width
horizontal dimension (in pixels)
height
vertical dimension (in pixels)
Optional attributes
General
bgcolor
the background color of the picture (normal is the web browser background color)
specified as "#rrggbb", where each red/green/blue component is specified in hexadecimal
pluginspage
the page to be shown if the client doesn't have Electrifier, specified as a URL (normal is the
Netscape plug-ins database page)
"http://www.electrifier.com/": takes the user to the Electrifier home page to download the plug-in (preferred)
Still
scale
the size (as a percentage) at which to draw the picture (normal is 100)
rotate
the angle (in degrees) at which to draw the picture (normal is 0)
Animation
stretch
the end size (as a percentage) at which to draw the picture (normal is 100)
spin
the end angle (in degrees) at which to draw the picture (normal is 0)
move
the animation movement type (normal is off)
off: no movement
h: moves from left to right
v: moves from top to bottom
hv: moves from top-left corner to bottom-right corner
hperspective: moves from left to right in perspective
vperspective: moves from top to bottom in perspective
twirl: moves in a spiral (the number of circles per loop is set with the numcircles attribute)
circle: moves in a circle (the number of circles per loop is set with the numcircles attribute)
movereverse
the reverse option for movement (normal is off)
off: standard movement
on: reversed movement (e.g. move=h results in right to left movement)
loop
the animation loop type (normal is on if any other animation attributes are specified, off otherwise)
on: continuous loop from start to end, and back to initial
forward: continuous loop from start to end
off: animates from start to end, and then stops
time
the time (in 1/60ths of a second) for a single animation from start to end (normal is 300)
trails
the animation trails option (normal is off)
off: no trails
on: leaves a trail of old images
sequence
the sequencing option (normal is off)
off: uses the entire image
on: cycles between the parts of the specified image, for frame-based animation
dithering
the dithering option for monitors that display 256 or fewer colors (normal is off)
off: no dithering
on: dithers colors (has no effect on monitors that display thousands or millions of colors)
numcircles
the number of circles per loop, used by the circle and twirl types of movement (normal is 1)