See:
http://www.dynamicdrive.com/dynamici...suppliment.htm
scroll down to the second section titled:
toc: "markup"
It explains how to set the pagination to manual and how to supply your own markup. You may include just the next and previous controls and style them however you like. No need to use javascript, just put them in your manual pagination division and give them the class names of 'next' and 'prev' respectively.
Something like this for the markup:
Code:
<div id="paginate-slider4" style="background:white">
<a href="#" class="prev"><img src="prev.gif" alt="" /></a>
<a href="#" class="next"><img src="next.gif" alt="" /></a>
</div>
Something like, in the init:
Code:
<script type="text/javascript">
featuredcontentslider.init({
id: "slider4", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "markup", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["", "Next"], //labels for "prev" and "next" links. Set to "" to hide.
revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [true, 0.1], //[true/false, fadedegree]
autorotate: [false, 3000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
</script>
Bookmarks