To have the carousel start on the panel div with an id of 'start' and to have the active panel div be given the class name of 'active', add the two functions as shown to your on page init:
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:true, moveby:1, pause:3000},
panelbehavior: {speed:500, wraparound:false, wrapbehavior:'slide', persist:false},
defaultbuttons: {enable: true, moveby: 1, leftnav: ['10/leftnav.gif', -5, 80], rightnav: ['10/rightnav.gif', -20, 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']
oninit: function(){
var id = 'mygallery', car = stepcarousel.configholder[id], $ = jQuery;
stepcarousel.stepTo(id, $('#' + id + ' .' + car.panelclass).index($('#start')) + 1);
},
onslide: function(){
var id = 'mygallery', car = stepcarousel.configholder[id], $ = jQuery;
$('#' + id + ' .' + car.panelclass).removeClass('active').eq(car.currentpanel).addClass('active');
}
})
</script>
Don't miss the added comma (red) after the contenttype value. Also make sure to use your gallery's id in the three places indicated (green).
Bookmarks