The script has been updated since this. The previous modified file would no longer work as intended for the current version. Please start a new thread.
But just adding the highlighted as shown as the on page init's onChange function should do the trick:
Code:
<script type="text/javascript">
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide.
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 3000], //[true/false, pausetime]
onChange: function(){
if(this.currentpage === this.contentdivs.length){
featuredcontentslider.cleartimer(this, window["fcsautorun"+this.id]);
}
}
})
</script>
Any questions, please feel free to start a new thread and refer back to this one.
Bookmarks