It's a great script, but I wanted to modify it a bit. I moved the navigation buttons on top of the rotator, and to the sides so it overlaps the slideshow. I also lowered the opacity of them, but here's my question:
How can I make the buttons invisible until I hover the rotator so that they both stay without opacity until a mouseover over the image?
Here's the code with my modulations:
Thanks in advance! /AndréCode:<html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="fadeslideshow.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"> var mygallery2=new fadeSlideShow({ wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image imagearray: [ ["http://i26.tinypic.com/11l7ls0.jpg", "", "", "Nothing beats relaxing next to the pool when the weather is hot."], ["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"], ["http://i30.tinypic.com/531q3n.jpg"], ["http://i31.tinypic.com/119w28m.jpg", "", "", "What a beautiful scene with everything changing colors."] //<--no trailing comma after very last image element! ], displaymode: {type:'auto', 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: "fadeshow2toggler" }) </script> </head> <body><center> <div id="fadeshow2"></div> <div id="fadeshow2toggler" style="width:250px; margin-top:10px"> <a href="#" class="prev"><img src="http://i31.tinypic.com/302rn5v.png" style="border-width:0; z-index:2; position:relative; top:-120px; left:-95px; text-align:center; opacity:0.4; filter:alpha(opacity=40)" /></a> <a href="#" class="next"><img src="http://i30.tinypic.com/lzkux.png" style="border-width:0; z-index:2; position:relative; top:-120px; left:95px; text-align:center; opacity:0.4; filter:alpha(opacity=40)" /></a> </div> </center> </body></html>



Reply With Quote
But anyway, thanks alot! Great job!


Bookmarks