Results 1 to 3 of 3

Thread: Step Carousel Initialise position on load

  1. #1
    Join Date
    Feb 2011
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Step Carousel Initialise position on load

    1) Script Title: Step Carousel

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...epcarousel.htm

    3) Describe problem: Hi I would like to initialise the carousel to always display the first image every time the page loads. At the moment there seems to be some sort of "memory" effect where closing and re-opening the page results in the carousel displaying the last viewed image, not the first in the chain.
    How is this possible please?

    Thanks, Lol

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    It would probably help if you find this part of the script and change persist to false, as I have done below.
    Code:
    stepcarousel.setup({
    	galleryid: 'mygallery', //id of carousel DIV
    	beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
    	panelclass: 'panel', //class of panel DIVs each holding content
    	autostep: {enable:true, moveby:1, pause:3000},
    	panelbehavior: {speed:500, wraparound:false, wrapbehavior:'slide', persist:false},

  3. #3
    Join Date
    Feb 2011
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    That worked great thanks! i had already changed
    Code:
    autostep: {enable:true
    to
    Code:
    autostep: {enable:false
    to disable the autoplay. Still learning how this stuff works.

    Cheers, Lol

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •