Yep, you're on the right track. To get the script to go to a particular panel when the page loads, you'd do something like:
Code:
<script type="text/javascript">
stepcarousel.setup({
galleryid: 'galleryC', //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
panelbehavior: {speed:300, wraparound:false, persist:true},
defaultbuttons: {enable: true, moveby: 1, leftnav: ['arrowl.gif', -10, 100], rightnav: ['arrowr.gif', -10, 100]},
statusvars: ['imageA', 'imageB', 'imageC'], //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']
oninit:function(){
stepcarousel.stepTo('galleryC', 2)
}
})
</script>
Where "galleryC" above should be the ID of your gallery, and 2 means go to the 2nd panel.
Bookmarks