Please post new questions in a new thread like here where I've moved this, and:
Please post about Dynamic Drive Scripts in the Dynamic Drive Scripts Help section here where I've moved this thread, and:
Warning: Please include a link to the DD script(s) in question in your post. See
this post for more information.
And:
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, I'm about to release an add on for Ultimate Fade In that enables extra buttons. It can do what you want.
Download this script:
Attachment 4033
And put it in the same folder as the slideshow script. Then on your page update to jQuery version 1.5.2 or greater, add in the tag for the extrabuttons.js script right after the tag for the fadeslideshow.js (which you've renamed slideshow.js) file. So this part:
Code:
<script type="text/javascript" src="http://gettopup.com/releases/latest/top_up-min.js"></script>
<script type="text/javascript" src="http://kanzius.org/new-site/sources/js/slideshow.js"></script>
will now look like so:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="http://kanzius.org/new-site/sources/js/slideshow.js">
/***********************************************
* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script type="text/javascript" src="http://kanzius.org/new-site/sources/js/extrabuttons.js">
// Extra Buttons Script (c)2011 John Davenport Scheuer
// as first seen in http://www.dynamicdrive.com/forums/
// add on for Ultimate Fade In Slideshow
// username: jscheuer1 - This Notice Must Remain for Legal Use
</script>
Change your init to:
Code:
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "slider", //ID of blank DIV on page to house Slideshow
dimensions: [974, 350], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://kanzius.org/new-site/uploads/slides/curley.jpg", "", "", ""],
["http://kanzius.org/new-site/uploads/slides/counter.jpg", "", "", ""]
],
displaymode: {type:'auto', pause:6000, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 1000, //transition duration (milliseconds)
descreveal: "ondemand",
extrabuttons: {pause: 6000},
togglerid: "overlay"
})
</script>
And add the navbut class to your navigation images (replace your current overlay division with this one):
Code:
<div id="overlay">
<img class="navbut" src="http://kanzius.org/new-site/uploads/slides/thumbs/curley.jpg" />
<img class="navbut" src="http://kanzius.org/new-site/uploads/slides/thumbs/counter.jpg" />
<img class="navbut" src="http://kanzius.org/new-site/uploads/slides/thumbs/john.jpg" />
<img class="navbut" src="http://kanzius.org/new-site/uploads/slides/thumbs/faces.jpg" />
</div>
That's it, save all the changes, upload the files, clear the browser cache and refresh the page.
Notes:
I tested this locally with your page and it's working. However, you have 4 nav images and only 2 slideshow images. So the extra two will link to the first two images in the show. Once you have the same number of slide images as you have nav images, it will work out.
I added an extrabuttons pause to the init. This makes the show resume after 6 seconds after one of the nav images is clicked.
You may set the style for the class .navbut to include cursor: pointer; to make them look more like they do something.
The script adds lots of other capabilities, but everything is optional. One thing you might be interested in at some point is the onbrforeslide function. With it you can highlight a border for or otherwise draw attention to the active thumbnail.
I'll be blogging about this add on soon. When I do you can check out all the options and how to use them there.
Bookmarks