WordPress.org

Ready to get started?Download WordPress

Forums

WP-Newsticker
Loop when it reaches the last post (9 posts)

  1. alan092177
    Member
    Posted 2 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?

    Thanks!

    http://wordpress.org/extend/plugins/wp-newsticker/

  2. darkhorse20
    Member
    Posted 2 years ago #

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

  3. Grant
    Member
    Posted 2 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";
    to
    inner.style.left = "775px";

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

  4. rakeshjuneja
    Member
    Posted 2 years ago #

    Yes it worked like a charm after changing, Thanks

  5. cinematic
    Member
    Posted 2 years ago #

    Thank you so much for this tip.

  6. Bozz
    Member
    Posted 2 years ago #

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

  7. Grant
    Member
    Posted 2 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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

About this Topic