Here's the setup code placed in shirts.php after the mygallery div and contents.
Code:
<script type="text/javascript">
var $j = jQuery.noConflict();
var canStep = true;
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
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']
onslide:function(){
$j("#nums a").css({ fontSize:"10px", fontWeight:"normal"});
$j("#nums a").filter("#" + statusA).css({ fontSize:"16px", fontWeight:"bolder" });
$j("#nums a").filter("#" + (statusA - 1)).css({ fontSize:"14px", fontWeight:"normal" });
$j("#nums a").filter("#" + (statusA + 1)).css({ fontSize:"14px", fontWeight:"normal" });
$j("#nums a").filter("#" + (statusA - 2)).css({ fontSize:"12px", fontWeight:"normal" });
$j("#nums a").filter("#" + (statusA + 2)).css({ fontSize:"12px", fontWeight:"normal" });
canStep = true;
}
});
</script>
The stepcarousel.js file is put in the Head of the index file, and the shirts.php file is loaded into a div on the index page. When this happens, the script somehow reloads the page.
Bookmarks