HTML Code:
<script type="text/javascript" src="../../stepcarousel.js"></script>
<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: true, moveby: 1, pause: 5000 },
panelbehavior: { speed: 900, wraparound: true, wrapbehavior: 'slide', persist: true },
defaultbuttons: { enable: true, moveby: 1, leftnav: ['../../images/left.gif', 0, 80], rightnav: ['../../images/right.gif', -24, 80] },
statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
contenttype: ['inline'] //content setting ['inline'] or ['ajax', 'path_to_external_file']
});
stepcarousel.setup({
galleryid: 'presgallery', //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: 5000 },
panelbehavior: { speed: 900, wraparound: true, wrapbehavior: 'slide', persist: true },
defaultbuttons: { enable: true, moveby: 1, leftnav: ['../../images/left.gif', 0, 80], rightnav: ['../../images/right.gif', -24, 80] },
statusvars: ['statusA1', 'statusB1', 'statusC1'], //register 3 variables that contain current panel (start), current panel (last), and total panels
contenttype: ['inline'] //content setting ['inline'] or ['ajax', 'path_to_external_file']
});
</script>
Bookmarks