cant change slideshow speed

I have changed the slideshow speed number up as high as 100000.
the pictures in my slideshow continue to cycle in 3 second intervals.
can anyone tell me what I am doing incorrectly?
TIA

Comments

  • I'd love to know the correlation of the number to seconds so I too can slow things down. How high does the number need to go?????
  • acrylian Administrator, Developer
    You need to use the timeout option.
    Timeout: Milliseconds between slide transitions (0 to disable auto advance.) [jQuery mode option]
    vs
    Speed: Speed of the transition in milliseconds.

    The descriptions are more or less directly from the original coder of the jQuery plugin it's based on..:-)
  • jim Member
    changed the speed, changed the timeout, still 3 seconds between displayed images.

    class slideshowOptions {

    function slideshowOptions() {
    setOptionDefault('slideshow_size', '595');
    setOptionDefault('slideshow_mode', 'jQuery');
    setOptionDefault('slideshow_effect', 'fade');
    setOptionDefault('slideshow_speed', '15000');
    setOptionDefault('slideshow_timeout', '15000');
    setOptionDefault('slideshow_showdesc', '');
    // incase the flowplayer has not been enabled!!!
    setOptionDefault('slideshow_flow_player_width', '640');
    setOptionDefault('slideshow_flow_player_height', '480');
    }
  • Are you making the changes in the code you show above? If so that is why nothing is happening. The options of the slideshow are all controlled form the Options/Plugin Options tabs in Admin. What you are changeing here is what the default will be had nothing ever been set in the option. That will only be the case the first time you ever enabale the plugin.
  • jim Member
    Thanks. I never saw the options/plugins tab on the admin page, it's on a 2nd row, on it's own, underneath admin options, as displayed in my IE and only 1/2 the tab is showing - I'm still an idiot.

    So could you steer me to something that would tell me how I make use of all these other options available to thois jquery cycle plugin? I am thinking I would like to you the pause on hover option at least. (http://www.malsup.com/jquery/cycle/options.html info is pasted below)

    OptionsThe following default options are provided by the plugin. They can be overridden by passing an options object to the cycle method, by using metadata on the container element, or by redefining these values in your own code. Lots of cool effects can be achieved by taking advantage of these options, but none of them are required. So override the ones you like and ignore the ones you don't care about. // override these globally if you like
    $.fn.cycle.defaults = {
    fx: 'fade', // one of: fade, shuffle, zoom, scrollLeft, etc
    timeout: 4000, // milliseconds between slide transitions (0 to disable auto advance)
    continuous: 0, // true to start next transition immediately after current one completes
    speed: 1000, // speed of the transition (any valid fx speed value)
    speedIn: null, // speed of the 'in' transition
    speedOut: null, // speed of the 'out' transition
    next: null, // id of element to use as click trigger for next slide
    prev: null, // id of element to use as click trigger for previous slide
    prevNextClick: null, // callback fn for prev/next clicks: function(isNext, zeroBasedSlideIndex, slideElement)
    pager: null, // id of element to use as pager container
    pagerClick: null, // callback fn for pager clicks: function(zeroBasedSlideIndex, slideElement)
    pagerEvent: 'click', // event which drives the pager navigation
    pagerAnchorBuilder: null, // callback fn for building anchor links
    before: null, // transition callback (scope set to element to be shown)
    after: null, // transition callback (scope set to element that was shown)
    end: null, // callback invoked when the slideshow terminates (use with autostop or nowrap options)
    easing: null, // easing method for both in and out transitions
    easeIn: null, // easing for "in" transition
    easeOut: null, // easing for "out" transition
    shuffle: null, // coords for shuffle animation, ex: { top:15, left: 200 }
    animIn: null, // properties that define how the slide animates in
    animOut: null, // properties that define how the slide animates out
    cssBefore: null, // properties that define the initial state of the slide before transitioning in
    cssAfter: null, // properties that defined the state of the slide after transitioning out
    fxFn: null, // function used to control the transition
    height: 'auto', // container height
    startingSlide: 0, // zero-based index of the first slide to be displayed
    sync: 1, // true if in/out transitions should occur simultaneously
    random: 0, // true for random, false for sequence (not applicable to shuffle fx)
    fit: 0, // force slides to fit container
    pause: 0, // true to enable "pause on hover"
    autostop: 0, // true to end slideshow after X transitions (where X == slide count)
    autostopCount: 0, // number of transitions (optionally used with autostop to define X)
    delay: 0, // additional delay (in ms) for first transition (hint: can be negative)
    slideExpr: null, // expression for selecting slides (if something other than all children is required)
    cleartype: 0, // true if clearType corrections should be applied (for IE)
    nowrap: 0 // true to prevent slideshow from wrapping
    };
  • acrylian Administrator, Developer
    We have not implemented all these options to the slideshow to not overload it. Some of theme are called automatically (like startingslide and the "pause on hover" you mention is implemented in the controls on top of the slideshow.

    But of course you can customize it directly, just look at the zp-core/plugins/slideshow.php at the function printSlidesShow. There you finde the jQuery definiton just like those on the cycle page.

    But note your changes, so that you don't loose them with an update.
  • Actually, if you choose to make changes it is recommended that you make a copy of the plugin and put your changes there.
Sign In or Register to comment.