PDA

View Full Version : Navigation



kk.
17-07-2008, 12:19 PM
Ok, im coding this layout and i want to have the something on the navigation bar that when a link is hovered over, an image fades onto the screena nd when its off, it fades out. Ive tried doing an animation which on hover runs it but when hovered over again, it just shows the already ran animation (the end result. Any help on this? preferably a CSS way or JS

Trigs
17-07-2008, 05:45 PM
http://script.aculo.us/

Invent
18-07-2008, 03:39 AM
http://script.aculo.us/

Definately not.

Source
18-07-2008, 12:48 PM
You could use scriptaculous easily. Wouldn't be the best way, but it would work.

onmouseover="Effect.Appear('div/imageID');"
onmouseout="Effect.Fade('div/imageID');"

Of course you would need to set the duration to pretty low, around .8 of a second or something. Your probably better off looking around for some JS on dd or use flash (yuck).

Lulz
22-07-2008, 11:03 PM
I really couldn't understand what your trying to do. When you hover it changes to a image? :|

Jahova
29-07-2008, 02:44 PM
Definatley javascript.
I would say http://script.aculo.us/ would be the best choice?

Want to hide these adverts? Register an account for free!