TinyPortal
Development => Block Codes => Topic started by: hawkeye on January 25, 2006, 11:07:19 PM
Use javascript/html box. You can change the font color and the background color. You can make it wider if required and you can set the speed of the scroll by changing the "scrollamount" variable. The higher the number, the faster the speed of scroll. This works great in right or left blocks. See mine in action at www.p3challenge.com.
<div
align="center"> <marquee bgcolor="#000080" scrollamount="2"
direction="up" loop="true" width="35%"> <center>
<font color="#ffffff" size="+1"> THIS
IS A COOL WAY TO MAKE YOUR TEXT SCROLL UPWARDS. IT IS EASY AND FAST LOADING </font> </center> </marquee></div>
Very nice script though.
anyone now the code to add to this one to stop on mouse over?
NVM i Figuered it out ;D
Here is the code if someone wants it
<div
align="center"> <marquee bgcolor="#000000" scrollamount="2"
direction="up" loop="true" width="100%" onmouseover='this.stop()'onmouseout='this.start()'><center>
<a href="http://www.xeronix.net" target="_blank"><img src="http://www.xeronix.net/designs/button.jpg" alt="Xeronix" border="0"></a></center> </marquee></div>
Makes a good Affiliates Block
Thanks This will come in handy.
Got this one but I had to placed it in a script block for it to work and not in HTML block. I am using TP-0.9.8 :up: