7
ah_boy:
As far as I understand, you want to know how to scroll the content inside a block. Here's a brief explanation using as a test subject the recent news block. As you've figured by now, the display of recent news is handled by the template
news_block_new.html, so what you need to do is to follow this easy procedure.
1) Open
Admin > Templates2) Look for your active template set and ask for the list of templates.
3) Once you fin the template
news_block_new.html, click on its
Edit link.
4) You'll see this code:
<ul>
<{foreach item=news from=$block.stories}>
<li><a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news.id}>"><{$news.title}></a> (<{$news.date}>)</li>
<{/foreach}>
</ul>
4) Add at the beginning the following code:
<marquee behavior="scroll" direction="up" width="100%" height="80" scrollamount="1" scrolldelay="60" onmouseover="this.stop()" onmouseout="this.start()">
5) Add at the end the following code:
</marquee>
Please take into account this is a MSIE exclusive tag, so it won't show on Netscape.
This is another place you can look for additional attributes:
Marquees For IE And MSNTVCheers.