Games
Polls
|
Next you have to add this code for each button you want on your page. You can change the information in bold to customize your button:
<applet code="fphover.class" codebase="../_fpclass/" width="125" height="30">
<param name="text" value="Home">
<param name="color" value="#ff00ff">
<param name="hovercolor" value="#966ff">
<param name="textcolor" value="#ffff00">
<param name="effect" value="glow">
<param name="url" value="http://www.lissaexplains.com" valuetype="ref">
<param name="font" value="arial">
<param name="fontstyle" value="bold">
<param name="fontsize" value="18">
</applet>
Here is a sample:
If you need to target frames with the hover button, you need to add the following code on the next line after param name="url", changing "rightside" to your frame name:
<param name="target" value="rightside">

How do add sound on hover? Adding sound is really easy. The hard part is finding sound files to use. You have to use a sound file with the extension .au and these can be hard to find. Try to keep the sound file to 1 or 2k so that loading time is faster. My sound files are only 1k. To add sound to the hover button, just add this line of code in the above code, make sure you upload your sound file, also you need to upload your .au file to your _fpclass folder:
<param name="hoversound" value="yourfilename.au" valuetype="ref">
This is the effect you get, cool huh?
You can actually add two sounds to a button, one for hover, and a different one for when the button is clicked. For example:
You just add this line of code, to the hover button code, with your own sound file substituted:
<param name="sound" value="yourfilename.au" valuetype="ref">

How do I change hover attributes? The table below shows you the different attributes you can give your hover buttons. Just change the effect in the code above to add the different attribute.
|
glow |
|
lightglow |
|
reverseglow |
|
bevelin |
|
bevelout |
|
average |
|
fill |
|
|