Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Java (http://www.programmingforums.org/forum17.html)
-   -   How Front Page 98’s hover buttons functions?. (http://www.programmingforums.org/showthread.php?t=10645)

arathi Jul 7th, 2006 1:28 AM

How Front Page 98’s hover buttons functions?.
 
i am experiencing some problem in getting the hover button to function.I have attached the codes for it


applet code="fphover.class" codebase="./" width="120" height="24">
<param name="color" value="#000080">
<param name="hovercolor" value="#0000FF">
<param name="textcolor" value="#FFFFFF">
<param name="text" value="C Programming">
<param name="effect" value="glow">
<param name="url" valuetype="ref" value="http://metalab.uniten.edu.my/~azhana/indexCProg.html">
</applet>

Ooble Jul 7th, 2006 6:59 AM

First of all, you need [code] tags. Secondly, you need an opening angle-bracket. And thirdly, you need to post the class code up.

crawforddavid2006 Jul 7th, 2006 5:06 PM

Can i make another suggestion? Instead of using Java just use JavaScript. I think it can also be done in HTML but I'm not sure on that i might be mistaken

shavkat Jul 8th, 2006 5:44 AM

need php code or etc.
 
i need javascript with database or php code to respect member

Ooble Jul 8th, 2006 9:01 AM

Quote:

Originally Posted by crawforddavid2006
Can i make another suggestion? Instead of using Java just use JavaScript. I think it can also be done in HTML but I'm not sure on that i might be mistaken

'Tis a good point - JavaScript would be a lot more user-friendly, as it should be faster to load (but not run) and more people have it installed/enabled.

Quote:

Originally Posted by shavkat
i need javascript with database or php code to respect member

Shut up.

Toro Jul 10th, 2006 2:48 AM

I have a little experience in FrontPage, F.P. uses these so called classes to load up buttons in the WYSIWYG editor. He has no idea what he is doing code wise. I say this because you are using F.P.

Here is a tutorial for learning how to apply Javascript, which is not Java, for using hover buttons. As mentions before, it loads up A LOT quicker and works like a charm

http://www.pageresource.com/jscript/jhover.htm

Hope this helps.

Dameon Jul 10th, 2006 3:51 AM

Or you could use CSS hover buttons...

Anyway, the fact that FP98 uses java applets for buttons tells me that you need to go very, very far away. Get a real editor, like Notepad2.

Toro Jul 10th, 2006 4:05 AM

CSS is probably the fastest alternative to go! Notepad++ is also a very good program. If you would like a simple text editor. I developed one if you want to use it. ;)

Ooble Jul 10th, 2006 5:50 AM

I was assuming he was using a fade transition or something, which would explain the Java. But if all it's doing is changing images, damn, my poor processor!


All times are GMT -5. The time now is 12:49 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC