WordPress.org

Ready to get started?Download WordPress

Forums

JS Banner Rotate
[resolved] [closed] Confused? Banner rotation length (6 posts)

  1. CapeHopeInfo
    Member
    Posted 1 year ago #

    I asked the question... How do I lengthen the time between my home page banners?
    I saw some answers on the FAQ page but nothing told be how to get to the HTML to actually change the parametters... Once in the HTML what do I change and for how long can I make the rotation?

    http://wordpress.org/extend/plugins/js-banner-rotate/

  2. Eric Mann
    Member
    Plugin Author

    Posted 1 year ago #

    Lengthening the time between banners has nothing to do with HTML, it's a setting you pass directly in to the shortcode (or in to the template tag if you're using that function).

    Set the imgdisp parameter to be the number of seconds you want each banner to display. Set the imgfade parameter to the number of seconds you want the fade animation to take between images.

  3. CapeHopeInfo
    Member
    Posted 1 year ago #

    Ok... I'm not a Website geek... I don't know where to find "imgdisp" or "imgfade?" How do I get there through my webpage dashboard... I need step by step help...

  4. Eric Mann
    Member
    Plugin Author

    Posted 1 year ago #

    This has nothing to do with your webpage dashboard. To add the banner to your site at all, you used a shortcode that looked something like [jsbrotate ... /].

    To adjust the default options, you need to add parameters to this. To set the length of time (in seconds) you want each banner to display, you use the imgdisp parameter:

    [jsbrotate imgdisp=12 /] will display each image for 12 seconds (rather than the default of 8 seconds.

    This parameter is in addition to the images= parameter you use to list your image URLs.

    You can read more about shortcodes and how they work in the Codex, but this is really all the help I can give you at this point.

  5. ollieford
    Member
    Posted 1 year ago #

    Hi, sorry to jump in here.
    I'm also having trouble with this. The imgdisp parameter only appears to affect the first image. I've set it to the code below and only the first image displays for 4 seconds, the rest display for the default time. Should this be applied to each individual image?

    I'm placing the shortcode directly into the template via the special function below.

    <?php echo do_shortcode("[jsbrotate width=468 height=60 imgdisp=4 images=http://cscommercialproducts.co.uk/wp-content/uploads/2013/03/Measuring-Stick-Banner1.jpg|http://cscommercialproducts.co.uk/wp-content/uploads/2013/03/Banner-1.jpg|http://cscommercialproducts.co.uk/wp-content/uploads/2013/03/Banner-2.jpg|http://cscommercialproducts.co.uk/wp-content/uploads/2013/03/Banner-3.jpg|http://cscommercialproducts.co.uk/wp-content/uploads/2013/03/Banner-4.jpg|http://cscommercialproducts.co.uk/wp-content/uploads/2013/03/Banner-5.jpg]"); ?>
  6. Eric Mann
    Member
    Plugin Author

    Posted 1 year ago #

    ollieford: Don't hijack old, resolved topics. Start a new thread please.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.