Hello. I was wondering if anybody new what I need to add to this code to make the text stop scrolling on mouseover and start again on mouseout. Thanks. <div align="center"> <marquee bgcolor="#000080" scrollamount="2" direction="up" loop="true" width="225" height="300" > <center> <font color="#ffffff" size="+1"><strong> THIS IS A COOL WAY<br> TO MAKE YOUR TEXT<br> SCROLL UPWARDS<br> <br> IT IS EASY AND FAST LOADING </strong></font> </center> </marquee></div>
<marquee onmouseover="this.stop();" onmouseout="this.start();"> my text here </marquee> Or like this <marquee onmouseover="this.setAttribute('scrollamount', 0, 0);" onmouseout="this.setAttribute('scrollamount', 6, 0);"> my text here </marquee> Or for yours I went ahead and added it and testd it and it works <div align="center"> <marquee bgcolor="#000080" scrollamount="2" direction="up" loop="true" width="225" height="300" onmouseover="this.setAttribute('scrollamount', 0, 0);" onmouseout="this.setAttribute('scrollamount', 6, 0);" > <center> <font color="#ffffff" size="+1"><strong> THIS IS A COOL WAY<br> TO MAKE YOUR TEXT<br> SCROLL UPWARDS<br> <br> IT IS EASY AND FAST LOADING </strong></font> </center> </marquee></div> should work in ie and fire fox but prob not opra.. and javascript must be enabled most peoples is.. hope that was helpfull
This is nice code.. But i actually want to add testimonials in my website...when i mouse over that text should stop running and i access the link too..
Nice code?!! Almost ALL of that markup was deprecated in 1999! And the marquee tag has NEVER been a part of the HTML spec! But I would suspect most DP'ers think it's both new and modern.