I'm confused now actually- so on the news page, are you trying to display the slider within the Carousel Viewer? I wonder this because it seems you want to use the same markup for both:
Code:
<!-- Blog Slider (Uses StepCarousel id="mygallery") if on it's own -->
<div id="mygallery"></div>
<div id="slider" align="left">
<ul id="sliderContent">
<li class="sliderImage">
<a href="http://beta.oinkba.com/ranking.php?mode=blog&message_id=36&row_template=news_page.tpl"><img src="http://beta.oinkba.com/image.php?mode=message_image&band_id=0&message_id=36&width=520&crop_height=350" width="520" height="350" alt="No pic" /></a>
<span><div style="font-size: 14px; font-weight: bold; margin-bottom: 6px;">Latest 5</div>Lorem ipsum dolor sit amet, consectetuer adipiscing elit....
<a href="http://beta.oinkba.com/ranking.php?mode=blog&message_id=36&row_template=news_page.tpl">more</a>
</span>
</li><li class="sliderImage">
<a href="http://beta.oinkba.com/ranking.php?mode=blog&message_id=35&row_template=news_page.tpl"><img src="http://beta.oinkba.com/image.php?mode=message_image&band_id=0&message_id=35&width=520&crop_height=350" width="520" height="350" alt="No pic" /></a>
<span><div style="font-size: 14px; font-weight: bold; margin-bottom: 6px;">Latest 4</div>Lorem ipsum dolor sit amet, consectetuer adipiscing elit....
<a href="http://beta.oinkba.com/ranking.php?mode=blog&message_id=35&row_template=news_page.tpl">more</a>
</span>
</li><li class="sliderImage">
<a href="http://beta.oinkba.com/ranking.php?mode=blog&message_id=34&row_template=news_page.tpl"><img src="http://beta.oinkba.com/image.php?mode=message_image&band_id=0&message_id=34&width=520&crop_height=350" width="520" height="350" alt="No pic" /></a>
<span><div style="font-size: 14px; font-weight: bold; margin-bottom: 6px;">Latest 3</div>Lorem ipsum dolor sit amet, consectetuer adipiscing elit....
<a href="http://beta.oinkba.com/ranking.php?mode=blog&message_id=34&row_template=news_page.tpl">more</a>
</span>
</li><li class="sliderImage">
<a href="http://beta.oinkba.com/ranking.php?mode=blog&message_id=31&row_template=news_page.tpl"><img src="http://beta.oinkba.com/image.php?mode=message_image&band_id=0&message_id=31&width=520&crop_height=350" width="520" height="350" alt="No pic" /></a>
<span><div style="font-size: 14px; font-weight: bold; margin-bottom: 6px;">Latest 2</div>Lorem ipsum dolor sit amet, consectetuer adipiscing elit....
<a href="http://beta.oinkba.com/ranking.php?mode=blog&message_id=31&row_template=news_page.tpl">more</a>
</span>
</li><li class="sliderImage">
<a href="http://beta.oinkba.com/ranking.php?mode=blog&message_id=28&row_template=news_page.tpl"><img src="http://beta.oinkba.com/image.php?mode=message_image&band_id=0&message_id=28&width=520&crop_height=350" width="520" height="350" alt="No pic" /></a>
<span><div style="font-size: 14px; font-weight: bold; margin-bottom: 6px;">Latest 1</div>Lorem ipsum dolor sit amet, consectetuer adipiscing elit....
<a href="http://beta.oinkba.com/ranking.php?mode=blog&message_id=28&row_template=news_page.tpl">more</a>
</span>
</li>
</ul>
<div class="clear sliderImage"></div>
</ul>
</div>
While the above carries the correct ID value of "mygallery", the DIVs inside do not have the correct CSS classes as defined in your Carousel's initialization code:
Code:
// For instructions how how to modify go to this URL
// http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
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:6000},
panelbehavior: {speed:500, wraparound:true, persist:true},
defaultbuttons: {enable: false, moveby: 1, leftnav: ['http://i34.tinypic.com/317e0s5.gif', -5, 80], rightnav: ['http://i38.tinypic.com/33o7di8.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 ['external', 'path_to_external_file']
})
The structure of your markup also doesn't conform to that required by Step Carousel. At the moment is it catered to the Slider?
Bookmarks