TinyPortal

Development => Block Codes => Topic started by: tarmer on April 29, 2006, 01:41:02 AM

Title: Scrolling text in a newsbox..... or article box
Post by: tarmer on April 29, 2006, 01:41:02 AM
Any code snippets on how to make this happen ?

Similar to scrolling "Recent Post" but for other types of blocks as mentioned..

Thanks in advance
Title: Re: Scrolling text in a newsbox..... or article box
Post by: cool on April 29, 2006, 09:01:01 AM
hi,
if look on the code from the recent-block you will find this line:

echo '<marquee  behavior="scroll" direction="up" height="200px" scrolldelay=" 10" scrollamount=" 1" onmouseover="this.stop()" onmouseout="this.start()">';

this should work on any other block to.
Title: Re: Scrolling text in a newsbox..... or article box
Post by: tarmer on April 29, 2006, 03:57:01 PM
what is the line ? - All I see where you have code is a scroll bar....
Title: Re: Scrolling text in a newsbox..... or article box
Post by: Omniverse on April 30, 2006, 08:13:37 AM
echo '<marquee  behavior="scroll" direction="up" height="200px" scrolldelay=" 10" scrollamount=" 1" onmouseover="this.stop()" onmouseout="this.start()">';
Title: Re: Scrolling text in a newsbox..... or article box
Post by: jonakis on September 26, 2007, 08:10:04 PM
Where i put this?
Title: Re: Scrolling text in a newsbox..... or article box
Post by: IchBin on September 26, 2007, 11:49:05 PM
Read the topic title and you will see jonakis.
Title: Re: Scrolling text in a newsbox..... or article box
Post by: jonakis on September 27, 2007, 11:33:58 AM
Yes i mean what type of block i use?I want to put an article scrolling.i put this code at the block or at the article? :)
Title: Re: Scrolling text in a newsbox..... or article box
Post by: Zetan on September 27, 2007, 12:22:57 PM
php :)
Title: Re: Scrolling text in a newsbox..... or article box
Post by: jonakis on September 27, 2007, 12:58:19 PM
Ok.i made a php box and i put the code above...Then, how i show an article at this box?
Sorry but i am a little newbie...!!!thanks...
Title: Re: Scrolling text in a newsbox..... or article box
Post by: IchBin on September 28, 2007, 05:48:57 AM
You create a PHP article.