1
Alt
Scrolling Headlines
  • 2003/10/18 18:54

  • Alt

  • Just popping in

  • Posts: 15

  • Since: 2002/11/26


Hi guys, I have a question how can I make Headlines block to be auto scrollable?

Thanks in advance,

Alt

2
snow77
Re: Scrolling Headlines
  • 2003/10/18 21:17

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


There is a module called INC Blocks, it has a couple of scrolling blocks but not of headlines, what you can do, which I have read before here in the forums is to check out the code of these blocks and add it to headlines.
Check the link of some suggestions I got from Tom here:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=12389&forum=4#forumpost49520

3
pcracer
Re: Scrolling Headlines
  • 2003/11/29 17:59

  • pcracer

  • Just popping in

  • Posts: 31

  • Since: 2003/10/23


here's a basic hack i used in my headlines module to scroll all my rss feeds...continuos scroll.

<marquee id="scroller" scrollAmount=1 direction=up>
<{foreach item=feed from=$block.feeds}>
<p><{$feed}></p>
<{/foreach}>
</marquee>

add to the xoopsheadline_block_rss.html template

**edit**

here's another hack i found & added;

<marquee behavior="scroll" direction="up" width="100%" height="100" scrollamount="1" scrolldelay="60" onmouseover="this.stop()" onmouseout="this.start()"><marquee behavior="scroll" direction="up" width="100%" height="100" scrollamount="1" scrolldelay="60" onmouseover="this.stop()" onmouseout="this.start()">
<{foreach item=feed from=$block.feeds}>
<p><{$feed}></p>
<{/foreach}>

this gives the 'mouse over - pause' feature

4
deceased
Re: Scrolling Headlines
  • 2004/3/9 6:19

  • deceased

  • Just popping in

  • Posts: 36

  • Since: 2004/3/3 5


How can I seperate the RSS feed?
I want to scroll the individual headlines horizontally like you would see on the television.

Edit: Sorry to bump the post, it was easy.
All I had to do was remove the <li> form the headline_block

5
irmtfan
Re: Scrolling Headlines
  • 2004/3/10 23:08

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


its great

but u miss </marquee> tag & double write <marquee> tag

seems u have been in hurry pcracer

correct code is:

<marquee behavior="scroll" direction="up" width="100%" height="100" scrollamount="1" scrolldelay="60" onmouseover="this.stop()" onmouseout="this.start()">

<{foreach item=feed from=$block.feeds}>
<p><{$feed}></p>
<{/foreach}>

</marquee>




6
Stewdio
Re: Scrolling Headlines
  • 2004/3/11 2:43

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


One thing to be mindfull of is the scroll speed will vary from browser to browser, or so I have noticed.

7
deceased
Re: Scrolling Headlines
  • 2004/3/11 4:59

  • deceased

  • Just popping in

  • Posts: 36

  • Since: 2004/3/3 5


Would a java script flow more evenly?

8
Stewdio
Re: Scrolling Headlines
  • 2004/3/11 13:38

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


I'm not sure, you but I would think it would have more control. The only way to find out is to try a few scripts out and test them.

9
joehyc
Re: Scrolling Headlines
  • 2004/3/14 8:03

  • joehyc

  • Just popping in

  • Posts: 10

  • Since: 2004/3/10


Hi~ I also want to make this function works in mine.

However, after I added the code in xoopsheadline_block_rss.html located in my modules/xoopsheadline/templates/blocks. Nothing changes, even I clean up all my files in templates_c.

Am I missed something in configuration? Would anyone help me a hand on this?


10
tripmon
Re: Scrolling Headlines
  • 2004/3/14 20:39

  • tripmon

  • Module Developer

  • Posts: 462

  • Since: 2004/2/28


Go to Admin>System>Modules:
Click on the package next to system (under actions) and then check again.

GL,
Trip

**EDIT**
OOOPs, my bad, do the above to your xoopsheadline Module, doing it to system can't hurt anything either.

Login

Who's Online

141 user(s) are online (93 user(s) are browsing Support Forums)


Members: 0


Guests: 141


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits