AsoFader

A crossfader applet

1. Introduction

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.

2. Manual


ParameterTypeDefaultDesription
authorstring-Should always be set to 'Sjoerd Bouwman'. Otherwise the applet won't work.
hrefurl-The URL to go to when user clicks on the applet.
targetstring-The name of the target frame for the href.
delaymiliseconds20msThe time to wait between each fade step.
stepsize1-643The difference between each step (the lower this value,
the more fluent the fade is).
holdmiliseconds0msThe time to wait between fades.
holdfirstbooleanfalseWhen set to true, pauses before first fade.
randombooleanfalseWhen set to true, picks random images from image list.
bgcolorR G B0 0 0The background color.
bgimageurl-The background image.
halignpercent50%Default horizontal alignment.
valignpercent0%Default vertical alignment.
image1url,[[h=%],[v=%]]-The first image and it's alignments.
For example 'image1.jpg,h=10%,v=90%'.
imagenurl,[[h=%],[v=%]]-The n'th image and it's alignments (see image1).
scalebooleantrueScale all images to applet size.
glowbooleanfalseSets the applet in 'glow' mode. In glow mode, the applet fades when the mouse is moved over the applet.
glowinbooleantrueFade from first to second when mouse over. Set to false for instand image change.
borderbooleanfalseDraws a black rectangle around the applet (if set to true, add 2pixels to width and height).

Example : Basic

	<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>

Example : Glow

	<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>


Move your mouse over the button

3. Download


Description Download
Java class files (jar) AsoFader.jar



Back to javapage