PDA

View Full Version : Start Marquee on MouseOver?



Moh
16-02-2008, 07:27 PM
Well I know you can stop Marquee on MouseOver, but how can you start it on mouseover?
Thanks :p

MrCraig
16-02-2008, 09:33 PM
Um,. I dont know if you can..

But you could do something like an iframe onmouseover it loads the marquee page?

theJOSH
16-02-2008, 09:43 PM
It'll be the same as turn off, in Javascript, but turn on? XD

Moh
16-02-2008, 09:49 PM
I could use javascript to replace the div with the marquee version, and then on mouse off it changes it back to normal?

Chippiewill
16-02-2008, 09:49 PM
Yeh but it starts on

But then you could use the onload i suppose

RedCrisps
16-02-2008, 09:50 PM
how about when its clicked?

RichardKnox
16-02-2008, 09:59 PM
Basically you could have a div with display: none; which contains the marquee code, and on hover it changes to display: block; thus displaying the marquee :)

Chippiewill
16-02-2008, 11:20 PM
couldn't you do an on mouse over:

document.write("<marquee>Marquee contents here</marquee>);

MrCraig
17-02-2008, 02:25 PM
or you could change the innerHTML of the div onmouseover?

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