Add the highlighted as shown:
Code:
<script type="text/javascript">
stepcarousel.setup(stepcarousel.animals = {
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:2, pause:2000},
panelbehavior: {speed:500, wraparound:true, wrapbehavior:'slide', persist:true},
defaultbuttons: {enable: true, moveby: 1, leftnav: ['http://i34.tinypic.com/317e0s5.gif', -35, 40], rightnav: ['http://i38.tinypic.com/33o7di8.gif', 0, 40]},
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']
})
jQuery(function($){
var config = stepcarousel.animals;
function resume(){
clearTimeout(config.buttonstimer);
config.buttonstimer = setTimeout(function(){
config.autostep.status = '';
$('#' + config.galleryid).trigger('mouseleave');
}, config.autostep.pause);
}
$('#prev_2, #next_2').click(function(e){e.preventDefault(); resume();}).mouseleave(resume);
});
</script>
<!-- END STEP CAROUSEL -->
Bookmarks