OK, I set up a demo here and the persist/not persist thing worked fine for me in several browsers. So, unless one of your other scripts is interfering with that, it should work for you. Or, the script may be cached. Clear your browser's cache and try again.
Now, if you would like to be able to set persistence on a slider by slider basis, use this contentslider.js file:
Attachment 1853
It no longer has a setting for enablepersist. That is now set (in the on page call) for each slider, ex:
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.
revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover"
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 3000], //[true/false, pausetime]
enablepersist: true, //true/false - defaults to false
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