Results 1 to 3 of 3

Thread: Step Carousel Viewer - init problem

  1. #1
    Join Date
    May 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Step Carousel Viewer - init problem

    Hi all,

    i'm using this DD :
    http://www.dynamicdrive.com/dynamici...epcarousel.htm

    Step Carousel Viewer works well inside my website. I have built a Form separate into two panels, and it works fine.
    The problem i have is that when i leave the form (while i'm on the second panel) to go through a onther page and then clic to go to go to the form, the panel keeps the second one. i thought there was a kind of reset.
    I would like, each time i go to the form, that the panel is the first one. I puted into the <head> , a javascript using stepcarousel.stepTo('mygallery',1) .
    But it tells me the setup is not correctly done. So i puted before the following javascript : stepcarousel.setup . But nothing changes. I suppose it is because inside the head, the setup is not possible.

    Have you any idea to initialize the panelindex to 1, each time the page is newly built ?

    Thanks a lot for your help
    Last edited by Snookerman; 05-14-2009 at 09:43 AM. Reason: added “Resolved” prefix

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    It sounds like you're asking how to disable persistence of the last viewed panel, so the Carousel always starts at the first one when the page is reloaded? If so, just set the following option inside your initialization code to false:

    Code:
    panelbehavior: {speed:300, wraparound:false, persist:false}
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    websylvain (05-14-2009)

  4. #3
    Join Date
    May 2009
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    It is exactly what i would like to do. Your answer is so quick and easy then i'm feeling like donkey

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
  •