PDA

View Full Version : Step Carousel refreshing problem



gahgogow
08-17-2010, 09:11 PM
1) Script Title:Step Carousel Viewer v1.9

2) Script URL (on DD):http://www.dynamicdrive.com/dynamicindex4/stepcarousel.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-gallery/axis-attack select a picture then refresh the page you will understant what i ment. Thanks.

azoomer
08-17-2010, 09:52 PM
in this part of the script you would want to set persist to false


<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

gahgogow
08-17-2010, 10:04 PM
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

azoomer
08-17-2010, 10:37 PM
Sorry I don't understand the question. Anybody else ?

mal2moh
06-03-2011, 05:15 PM
thanks work for me