.
Your page is in violation of Dynamic Drive's
usage terms, which, among other things, state that the script credit must appear in the source code of the
page(s) using the script. Please reinstate the notice first.
That said, add the highlighted as shown:
Code:
<script type="text/javascript">
var mygallery2=new fadeSlideShow({
wrapperid: "slider", //ID of blank DIV on page to house Slideshow
dimensions: [814, 539], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/home-1.jpg"],
["images/graphic-1.jpg"],
["images/home-1.jpg"],
["images/graphic-1.jpg"] //<--no trailing comma after very last image element!
],
displaymode: {type:'manual', pause:2500, cycles:0, wraparound:true},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "always",
togglerid: "controls",
oninit: function(){
jQuery('.status').eq(1).replaceWith(jQuery('.status').eq(0));
}
})
</script>
You will also want to remove (red):
Code:
<!-- Start Right Column -->
<div class="right-column">
<div id="counter"> [ <span class="status"></span>Status needs to go here ]
</div>
</div>
<!-- End Right Column -->
and (again, only the red):
Code:
<div id="controls"><a class="prev">_PREVIOUS</a> [ <span class="status"></span> ] <a class="next">_NEXT</a></div>
The browser cache may need to be cleared and/or the page refreshed to see changes.
Bookmarks