Loop when it reaches the last post (9 posts)

  1. alan092177
    Posted 4 years ago #

    This is a nice news ticker. Fits perfectly for me and the end-user/client. However I did notice that when the news ticker reaches the last post/announcement, it does not loop automatically. Is there anyway to do this?



  2. darkhorse20
    Posted 4 years ago #

    I was wondering the same thing. Looks likes something in the jquery needs to be changed.

  3. Grant
    Posted 4 years ago #

    Hi there!
    I had the same problem. There is code there that controls the loop but for some reason it's not working.
    I just replaced the following code in jquery.newsticker.js (line 154)
    inner.style.left = parseInt(scroller.style.width) + "px";
    inner.style.left = "775px";

    Just change the pixel amount to suite your needs.
    Hope this helped!

  4. rakeshjuneja
    Posted 4 years ago #

    Yes it worked like a charm after changing, Thanks

  5. cinematic
    Posted 4 years ago #

    Thank you so much for this tip.

  6. Bozz
    Posted 4 years ago #

    Thanks for sharing this! It would be great to see this fix in an updated version of this plugin.

  7. Grant
    Posted 4 years ago #

    More a hack than a fix really.
    Might be an idea to have a place for your custom pixel width in the admin part of the plugin :)

  8. greenpeas
    Posted 3 years ago #

    Anyone figured out how to remove the last tag for webdesign - without just deleting line 119 on news.php?

    <a href="http://www.iwebix.de" target="_blank" title="webdesign">webdesign</a>

    The creates a gap between the loop (after applying the above fix - which btw is AWESOME!)

  9. dickyadams
    Posted 3 years ago #

    Anyone any thoughts on how to make this read a post not category titles?

    I have a bunch of quotes from schoolkids to go on a site and the easiest way might be to put them all in one page and then get the ticker to read the text from the page/post rather than teh post titles?

    Any thoughts?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Newsticker
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic