There may be other issues, but you need to move the initialization code for Step Carousel so it follows the reference to the jQuery library on your page (currently it proceeds):
Code:
<script type='text/javascript' src='http://www.rcmaroc.com/wp-includes/js/jquery/jquery.js?ver=1.6.1'></script>
<!-- after the above, not before -->
<!--Featured Products Carousel-->
<script type="text/javascript" src="http://www.rcmaroc.com/wp-content/themes/viroshop/includes/js/stepcarousel.js">
/***********************************************
* Step Carousel Viewer script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/
</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:6, pause:1000},
panelbehavior: {speed:500, wraparound:false, persist:false},
defaultbuttons: {enable: false, moveby: 1, leftnav: ['http://www.rcmaroc.com/wp-content/themes/viroshop/images/left-arrow.png', -5, 80], rightnav: ['http://www.rcmaroc.com/wp-content/themes/viroshop/images/right-arrow.png', -15, 80]},
contenttype: ['inline'] //content setting ['inline'] or ['ajax', 'path_to_external_file']
})
</script>
Bookmarks