Log in

View Full Version : Quick Question about Hover Buttons



rka81
03-09-2006, 08:25 PM
Just created website using the hover buttons availabvle in FrontPgae but when i publish this page on the net, the hover buttons appear but do not work when they are clicked?!?!! I have made sure to publish all the CLASS files but all cant figure out why the links dont work (they work off line when previewed in a browser!!?!?!!

Probably a simple problem so any help is really appreciated

Thanks:confused:

Twey
03-09-2006, 08:51 PM
The simple problem, other than that you're using FrontPage in the first place, is quite possibly that said excuse for an editor has mangled your paths -- or, worse, not mangled your paths. The paths to the files on your computer are likely different to the paths to the same files on your server. Edit your code and set the paths correctly.

rka81
03-10-2006, 09:06 PM
Yeah had a go at that and done all that correctly...

Below is the code:-

<applet code="fphover.class" codebase="../../" width="73" height="18">
<param name="textcolor" value="#FFFFFF">
<param name="color" value="#89070B">
<param name="font" value="Helvetica">
<param name="fontstyle" value="bold">
<param name="fontsize" value="10">
<param name="hovercolor" value="#DC1428">
<param name="effect" value="glow">
<param name="text" value="Home">
<param name="url" valuetype="ref" value="index.htm">
</applet>


When i leave it as the above (direct copy from frontpage) i cant see the buttons but when i remove the ../.. from the codebsae , they show but as i said before they dont work when i click on them......

any ideas anyone???

Twey
03-10-2006, 09:26 PM
Ah - Java buttons. Could you give the source of the class, please?

rka81
03-10-2006, 09:33 PM
I have got four classes that i have uploaded....not too sure which one you would want to see...

fpfade.class
fphover.class
fphoverx.class
fprotate.class
fprotatx.class
animate.js

I got a bit confused as to which ones i needed so uploaded all of them (that could be right ?!?!)

rka81
03-10-2006, 09:38 PM
Ok yeah sorry ....

its the fphover.class

but i dont know how to get the source for this....sorry to be a pain

Twey
03-10-2006, 09:44 PM
Ah - it could be that Microsoft haven't released the source. Though what their argument would be for hiding the source of a button, I have no idea...
Try setting the codebase to "./".

rka81
03-10-2006, 10:06 PM
will try that

cheers