Hello,I have a bit of javascript code to put on a page that I am having some trouble with. Its a pretty clean bit of code, I have put its parts in the appropriate spots in domino form but there’ one part I think I am having problems with… where it needs to get the images… You’ll see in the code that it has made an array and populates the array with ‘1.jpg’ (see below) and so on. when I try to use this code I get a javascript error with an object expected in it. My thoughts are that I need to make domino uderstand where the pics are. I have tried using image resources and calling appropriatetly and varioius other things. I would be ever greatful if I could get someone who understands this better to take a look. Here is the code I have…
Any help is appreciated (except redicule)
===========================================================
Script: JavaScript Cross-Browser SlideShow Script
With Cross-Fade Effect between Images
Adjustable Timing and Unlimited Images
Function: Displays images continuously in a slideshow
presentation format, with a fade effect on
image transitions.
Browsers: All common browsers: NS3-6, IE 4-6
Fade effect only in IE; others degrade gracefully
Author: etLux
===========================================================
Step 1.
Put the following script in the head of your page:
===========================================================
Step 2.
Put this onload event call in your body tag:
===========================================================
Step 3.
Put this in the body of your page where you want the
slide show to appear.
Set widths and heights same as images
Set image file same as first image in array Pic (above)
|
|
===========================================================