Make your own free website on Tripod.com
 

Include Fader in Html Code

To use the Fader, just copy the following lines into a html document and place the files Fader.class and XPanel.class in the same directory.

<applet code = "Fader.class" name="Fader" width = "500" height = "185">
<param name = "sources" value = "rhtitle2.jpg, rhtitle3.jpg, tia.jpg, christien.jpg">
<param name = "links" value = "rhtitle2.jpg, rhtitle3.jpg, tia.jpg, christien.jpg">
<param name = "linkTarget" value = "_new">
<param name = "width" value = "500">
<param name = "height" value = "185">
<param name = "stepWidth" value = "8">
<param name = "stepPause" value = "5">
<param name = "endPause" value = "1000">
<param name = "mode" value = "loop_oneway">
</applet>

Then, you can change the parameters; they have the following meanings:

  • 'sources': the images you want to display, separated by commas,
  • 'links': the links that should be opened when the used clicks on the image; for each image, you must give exactly one link
  • 'linkTarget': where to open this link ("_self", "_new", or "_blanc"),
  • 'width' and 'height': the width and height of the images; they should all have the same size,
  • 'mode': 'oneway', 'bothways', 'loop_oneway', 'loop_bothways', 'onClick' (click on the image to preceed to the next one). Check out how the modes work on the demo page.
  • 'stepWidth': fading is done in 100 / stepWidth steps,
  • 'stepPause': pause for min. stepPause milli-secs between fading-steps,
  • 'endPause': delay after having faded from one image to the next.

........................... ...... ......

home | in html code | sender

© Oliver Labs | The Cubic Surface Homepage | Algebraic Geometry Group | University of Mainz, Germany