PDA

View Full Version : undefined error at "Ultimate Fade-in slideshow"



amazon
10-04-2007, 09:31 AM
1) Script Title:
Ultimate Fade-in slideshow (v1.51)

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

3) Describe problem:
It's not working..!

I have the html in the root and following folders:
images (here I have the images !)
js (here I have the javascripts !)

in my html I have added following:
head-part:
<script type="text/javascript" language="JavaScript1.1" src="js/fadeinslidehead.js"></script>

body-part:
<div>
<script type="text/javascript">
new fadeshow(fadeimages, 140, 225, 0, 3000, 1, "R")
</script>
</div>

and the javascript contains this:
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["images/ft_slide_fors1.jpg", "", ""] //plain image syntax
fadeimages[1]=["images/ft_slide_fors2.jpg", "", ""] //plain image syntax
fadeimages[2]=["images/ft_slide_fors3.jpg", "", ""] //plain image syntax
fadeimages[3]=["images/ft_slide_fors4.jpg", "", ""] //plain image syntax
fadeimages[4]=["images/ft_slide_fors5.jpg", "", ""] //plain image syntax
var fadebgcolor="white"

I guess it is a simple error, but can't find it ... why is this not working?!:confused:

amazon
10-04-2007, 10:12 AM
in the external js i hadn't deleted

<script language="JavaScript1.1">
<!--


and


//-->
</script>


... stupid error but easy to correct! :rolleyes: