hemil_sheth
08-17-2011, 12:16 AM
1) Script Title: Featured Content Glider
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm
3) Describe problem:
I have 2 div's which I want to rotate, inside this divs I have a tags which are linked to images. Something like this.
<div id="slider2">
<div id="Badge3a" class="contentdiv badge">
<a href="http://www.google.com" target="_blank">
<img src="images/img1.png" />
</a>
</div>
<div id="Badge3b" class="contentdiv badge">
<a href="http://www.yahoo.com/" target="_blank">
<img src="images/img2.png" />
</a>
</div>
</div>
<div id="paginate-slider2" class="pagination">
</div>
<script type="text/javascript">
featuredcontentslider.init({
id: "slider2", //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.3], //[true/false, fadedegree]
autorotate: [true, 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>
Everything works fine, except when I click on the any 1 Image link in this slider, the sliding stops and doesnt resume.....
Is it something I am missing.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm
3) Describe problem:
I have 2 div's which I want to rotate, inside this divs I have a tags which are linked to images. Something like this.
<div id="slider2">
<div id="Badge3a" class="contentdiv badge">
<a href="http://www.google.com" target="_blank">
<img src="images/img1.png" />
</a>
</div>
<div id="Badge3b" class="contentdiv badge">
<a href="http://www.yahoo.com/" target="_blank">
<img src="images/img2.png" />
</a>
</div>
</div>
<div id="paginate-slider2" class="pagination">
</div>
<script type="text/javascript">
featuredcontentslider.init({
id: "slider2", //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.3], //[true/false, fadedegree]
autorotate: [true, 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>
Everything works fine, except when I click on the any 1 Image link in this slider, the sliding stops and doesnt resume.....
Is it something I am missing.