1) Script Title: Ultimate Fade In Slideshow v2.0
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm
3) Describe problem: Black box - no images are showing
Hi
I'm having a problem getting the Ultimate Fade-in slideshow working and I've looked through the forums at similar problems and unlike me they all seem to get theirs working even though I seem to be doing the same thing.
Would there be any chance someone could have a quick look please? I've checked all the locations and names and I'm sure everything is ok.
Here's the code:
Code:<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>Commercial Editors in Soho, London</title> <link href="css/index.css" rel="stylesheet" type="text/css"> <style type="text/css"> body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="assets/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 mygallery=new fadeSlideShow({ wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow dimensions: [1000, 375], //width/height of gallery in pixels. Should reflect dimensions of largest image imagearray: [ ["http://www.figmentediting.co.uk/v3/bannerimages/1.jpg"], ["http://www.figmentediting.co.uk/v3/bannerimages/2.jpg"], ["http://www.figmentediting.co.uk/v3/bannerimages/3.jpg"], ["http://www.figmentediting.co.uk/v3/bannerimages/4.jpg"] //<--no trailing comma after very last image element! ], displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false}, persist: false, //remember last viewed slide and recall within same session? fadeduration: 500, //transition duration (milliseconds) descreveal: "ondemand", togglerid: "" }) </script> </head> <body> <div id="header"> <div id="headerwrapper"> <div id="headerleft"><img src="images/logo.png" width="241" height="84" alt="commercial editors in soho"></div> <div id="headerrighttop"></div> <div id="headerright">Home | Editors | Client Login | Contact</div> </div> </div> <div id="header2"> <div id="header2wrapper">Commercial Editors in London, Soho</div> </div> <div id="banner"> <div id="bannerwrapper"> <div id="fadeshow1"></div> </div> </div> </body> </html>
And here's what's in the .js
Code:/* Ultimate Fade-in slideshow (v2.4) * Last updated: May 24th, 2010. This notice must stay intact for usage * Author: Dynamic Drive at http://www.dynamicdrive.com/ * Visit http://www.dynamicdrive.com/ for full source code */ //Oct 6th, 09' (v2.1): Adds option to randomize display order of images, via new option displaymode.randomize //May 24th, 10' (v2.4): Adds new "peakaboo" option to "descreveal" setting. oninit and onslide event handlers added. var fadeSlideShow_descpanel={ controls: [['http://www.figmentediting.co.uk/v3/bannerimages/x.png',7,7], ['http://www.figmentediting.co.uk/v3/bannerimages/restore.png',10,11], ['http://www.figmentediting.co.uk/v3/bannerimages/loading.gif',54,55]], //full URL and dimensions of close, restore, and loading images fontStyle: 'normal 11px Verdana', //font style for text descriptions slidespeed: 200 //speed of description panel animation (in millisec) } //No need to edit beyond here...
I've copied and pasted image addresses into the code to make sure they are spot on and amended the .js file accordingly but can't get it working in both IE9 and Firefox.
Any help at all would be greatly appreciated.
Many thanks
Graham



Reply With Quote

Bookmarks