Results 1 to 5 of 5

Thread: Step Carousel refreshing problem

  1. #1
    Join Date
    Aug 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Step Carousel refreshing problem

    1) Script Title:Step Carousel Viewer v1.9

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

    3) Describe problem: Hi i have an interesting problem after i refresh the page the carousel staying at the same picture i want it to reset itself after refresh the page.check out this link http://www.axiswheels.com/view-wheel...ry/axis-attack select a picture then refresh the page you will understant what i ment. Thanks.

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

    Default

    in this part of the script you would want to set persist to false
    Code:
     <script type="text/javascript">
                        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: false, moveby: 1, pause: 6000 },
                            panelbehavior: { speed: 250, wraparound: true, persist: false },
                            defaultbuttons: { enable: true, moveby: 1, leftnav: ['/images/btn_left.png', -27, 315], rightnav: ['/images/btn_right.png', -17, 315] },
                            statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
                            contenttype: ['inline'] //content setting ['inline'] or ['external', 'path_to_external_file']
                        })
                    </script>
    I think that should fix it

  3. #3
    Join Date
    Aug 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    yes thank you, it works, but in different way.Let me ask you one more question in http://www.exewheels.com/default.aspx this link change the picture then refresh it it, goes to first picture without reloading page. how it can be posible? Thank you

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

    Default

    Sorry I don't understand the question. Anybody else ?

  5. #5
    Join Date
    Jun 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks work for me

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
  •