A crossfader applet
Because this crossfader is not javascript it supports any browser with a java-plugin. I tried crossfading with javascript, but this would only work in the Microsoft IExplorer.
| Parameter | Type | Default | Desription |
|---|---|---|---|
| author | string | - | Should always be set to 'Sjoerd Bouwman'. Otherwise the applet won't work. |
| href | url | - | The URL to go to when user clicks on the applet. |
| target | string | - | The name of the target frame for the href. |
| delay | miliseconds | 20ms | The time to wait between each fade step. |
| stepsize | 1-64 | 3 | The difference between each step (the lower this value, the more fluent the fade is). |
| hold | miliseconds | 0ms | The time to wait between fades. |
| holdfirst | boolean | false | When set to true, pauses before first fade. |
| random | boolean | false | When set to true, picks random images from image list. |
| bgcolor | R G B | 0 0 0 | The background color. |
| bgimage | url | - | The background image. |
| halign | percent | 50% | Default horizontal alignment. |
| valign | percent | 0% | Default vertical alignment. |
| image1 | - | The first image and it's alignments. For example 'image1.jpg,h=10%,v=90%'. | |
| imagen | - | The n'th image and it's alignments (see image1). | |
| scale | boolean | true | Scale all images to applet size. |
| glow | boolean | false | Sets the applet in 'glow' mode. In glow mode, the applet fades when the mouse is moved over the applet. |
| glowin | boolean | true | Fade from first to second when mouse over. Set to false for instand image change. |
| border | boolean | false | Draws a black rectangle around the applet (if set to true, add 2pixels to width and height). |
<APPLET> codebase="." archive="AsoFader.jar" code="aso.apps.fader.AsoFader" width=100 height=100> <PARAM name=author value="Sjoerd Bouwman"> <PARAM name=scale value=false> <PARAM name=delay value=30> <PARAM name=stepsize value=1> <PARAM name=hold value=1000> <PARAM name=holdfirst value=true> <PARAM name=image1 value="f-Sjoerd01.jpg"> <PARAM name=image2 value="f-Peer01.jpg"> <PARAM name=image3 value="f-Sjoerd02.jpg"> <PARAM name=image4 value="f-Peer02.jpg"> </APPLET>
<APPLET> codebase="." archive="AsoFader.jar" code="aso.apps.fader.AsoFader" width=143 height=45> <PARAM name=author value="Sjoerd Bouwman"> <PARAM name=href value="../index.html"> <PARAM name=scale value=false> <PARAM name=delay value=30> <PARAM name=stepsize value=3> <PARAM name=hold value=500> <PARAM name=image1 value="button-out.jpg"> <PARAM name=image2 value="button-in.jpg"> <PARAM name=glow value=true> <PARAM name=glowin value=true> </APPLET>
| Description | Download | |
|---|---|---|
| Java class files (jar) | AsoFader.jar |