|
Basics
HTML
Java
Colors
Frames
Tables
Fonts
Graphics
Links
Contact
| |
how do i make hover buttons?
Hover buttons are really cool. You
can have great effects on your page without having a graphics program.
You first need to download this zip file which contains 2 .class files,
fphover.class and fphoverx.class. You need to unzip this file with a program
like WinZip .
You need to upload both of these files to your server (unopened), into a
subdirectory that you HAVE to call _fpclass.
Not all Web hosts allow you to have subdirectories, if you can't create a new
folder (subdirectory) then you won't be able to use this applet.
Also remember that this only works on Internet Explorer, and not on
Netscape.
Download hover classes here.
Next you have to add this code for each button you want on your page. You can
change the info 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://butterfly951.cjb.net/"
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">
|