PDA

View Full Version : Fade-In Slide Show issues



banj
04-27-2009, 10:43 PM
1) Script Title: Fade-In Slide Show

2) Script URL (on DD): www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem:

Please help!

I have installed the fantastic fade-in slide show on: http://www.tyretraders.com.au/www/index.php

I have two problems occuring...

1/ Internet Explorer is coming up with the following error:
Line: 390
Char: 1
Error: 'fadeimages2' is undefined
Code: 0
URL: http://www.tyretraders.com.au/www/index.php

2/ Within Firefox after approximately 5-10 minutes my MAIN NAV MENU (which drops down) ends up dropping BEHIND the Fade-In Slide Show. Therefore some of the main menu is unaccessible.

Also, is there anyway I can hide all this javascript for the fade-in slide show? i.e. link the sheet? as all that info in my header has to be slowing the site down?

Any help appreciated!

Snookerman
04-27-2009, 11:21 PM
1. Remove the highlighted:

<script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow(fadeimages, 500, 200, 0, 6000, 1, "R")
new fadeshow(fadeimages2, 500, 200, 0, 6000, 1)

</script>

2. I waited for more than 10 minutes in Fx3.0.9 and nothing happened. Maybe fixing the above will help.

3. Copy all the code from inside the <script> tags (don't include the script tags) and put it in a blank page and save it as filename.js. Then link to it like this:

<script type="text/javascript" src="filename.js">
/***********************************************
* Ultimate Fade-In Slideshow (v1.51): Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
</script>
Note that the license must stay intact within the <script> tags, in the page's visible source.

Good luck!