Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Back" Hover button not working

Status
Not open for further replies.

cyprus106

Programmer
Apr 30, 2001
654
I've got a hover button that I want to use as a "Back" button, so I put in this code:

<applet code=&quot;fphover.class&quot; codebase=&quot;./&quot; width=&quot;120&quot; height=&quot;24&quot;>
<param name=&quot;color&quot; value=&quot;#000080&quot;>
<param name=&quot;textcolor&quot; value=&quot;#FFFFFF&quot;>
<param name=&quot;text&quot; value=&quot;Back&quot;>
<param name=&quot;hovercolor&quot; value=&quot;#009900&quot;>
<param name=&quot;effect&quot; value=&quot;glow&quot;>
<param name=&quot;url&quot; valuetype=&quot;ref&quot; value=&quot;javascript:history.back(1)&quot;>
</applet>

But it seems to have no effect. I put it into a label and it worked just fine. I'm fairly new to HTML so I'm sure it's something simple that I don't know about...

Thanks! Cyprus
 
Try:
Code:
<param name=&quot;url&quot; valuetype=&quot;ref&quot; value=&quot;javascript:history.go(-1)&quot;>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top