This:
Code:
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[]=["images/messybedroom.jpg","images/cleanbedroom.jpg"]
var fadeimages2=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages2[]=["images/cryingchild.jpg","images/happychild.jpg"]
Is not how it is shown on the demo page and doesn't define any images. At least follow the template as shown:
Code:
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["images/messybedroom.jpg", "", ""] //plain image syntax
fadeimages[1]=["images/cleanbedroom.jpg", "", ""] //plain image syntax
var fadeimages2=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages2[0]=["images/cryingchild.jpg", "", ""] //plain image syntax
fadeimages2[1]=["images/happychild.jpg", "", ""] //plain image syntax
The rest of your code is unclear due to possible text wrapping, but looks about right.
In the future, use code tags:
[code]
code goes here
[/code]
around your code in messages here so that it appears like so when you publish:
Or, better yet, post a link to your live page.
Bookmarks