Results 1 to 2 of 2

Thread: Question about script by John

  1. #1
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    612
    Thanks
    46
    Thanked 32 Times in 32 Posts

    Cool Question about script by John

    I know this is based on the crawler script here at DD.But it is a revised script not on the DD server so I am asking in this form instead of the DD script one.

    John's http://jscheuer1.comli.com/rsscrawle...icker_demo.htm

    I have made adjustments and like it a lot here:
    http://www.web-user.info/rss/demo.htm

    The only thing I don't like about it is that everytime I put my curser on it it jumps and scrolls all the way to the begining.

    Can that be stopped? I use firefox 14.0.1 if it makes a difference

    ps-I hope I did the right thing by starting a new thread for this instead of continuing the thread I marked as 'resolved'
    Last edited by ajfmrf; 08-29-2012 at 05:05 PM. Reason: add a not
    Thanks,

    Bud

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Actually if you put the cursor over it on the left it scrolls to the right. If you put the cursor over it on the right, it scrolls to the left. If you put the cursor over the middle it stops.

    You can configure it to simply pause when the cursor is over it, or to not react to the cursor at all. Where you have:

    Code:
    new rsscrawler('http://news.google.com/?output=rss', 'googlenews', {reverse: true});
    The first param is the address of the feed. The second is the id of the target division where you want the scrolling feed to appear. The third param is an object used to configure the scroller's appearance/behavior. The available properties for it are described here:

    http://www.dynamicdrive.com/dynamici...wler/index.htm

    All of the properties used for controlling that scroller except the id (that's configured in the second param for this version) script can be used with this one.

    So to make it so that it pauses on mouse over instead of reacting to the mouse for speed and direction you would add:

    Code:
    new rsscrawler('http://news.google.com/?output=rss', 'googlenews', {reverse: true, inc: 2 mouse: 'pause'});
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. another question John
    By ajfmrf in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 08-20-2011, 10:00 PM
  2. Resolved Thanks John.
    By robin9000 in forum JavaScript
    Replies: 25
    Last Post: 02-10-2009, 10:50 PM
  3. Replies: 0
    Last Post: 10-21-2008, 06:44 AM
  4. Apology - John Scheuer
    By Jonno in forum The lounge
    Replies: 0
    Last Post: 08-10-2006, 01:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •