WordPress.org

Ready to get started?Download WordPress

Forums

Rotating Tweets (Twitter widget and shortcode)
[resolved] [Plugin: Rotating Tweets widget and shortcode] Altering the Rotation speed (6 posts)

  1. Anexrisk
    Member
    Posted 2 years ago #

    HI, Does anyone know where in the code I can make changes to alter the speed of the rotation? I would like to slow it down by about 50% to give more screen time to each tweet?

    Thanks

    http://wordpress.org/extend/plugins/rotatingtweets/

  2. Martin Tod
    Member
    Plugin Author

    Posted 2 years ago #

    Currently you will need to change the javascript in /js/rotating_tweet.js by adding extra variables.

    For the time being, I would suggest changing:

    jQuery(rotate_id).cycle({
    			pause: 1,
    			fx: 'scrollUp'
    		});

    to:

    jQuery(rotate_id).cycle({
    			pause: 1,
    			timeout: 6000,
    			fx: 'scrollUp'
    		});

    I'll see if I can find an easy way to control this into the next version of the code.

    There are more possible variables at http://jquery.malsup.com/cycle/begin.html.

  3. Anexrisk
    Member
    Posted 2 years ago #

    Thank you kindly for your swift response. The code you suggested works perfectly and I now know where to make adjustments if needed.

    Thank you for taking the time to reply its greatly appreciated sir!

    Thank you again and for your great plugin.

  4. Martin Tod
    Member
    Plugin Author

    Posted 2 years ago #

    My pleasure.

    The next version will allow you to control it from the admin pages! :-)

  5. Martin Tod
    Member
    Plugin Author

    Posted 2 years ago #

    Version 0.40 now supports adjustable speeds! :-)

  6. Anexrisk
    Member
    Posted 2 years ago #

    You certainly move fast!

    Thanks again this is excellent.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.