PDA

View Full Version : DW CS4 JS photoswap not working properly


Jenniec
02-04-2009, 03:34 PM
I have a page with a photo swap (see below) in the body of the page [not to be confused with the header.]. It is supposed to be a swap on refresh or return to the page, but nothing is dropping in. At one point I had to hit refresh a couple of times to get it to start, but now it won't do it at all.


http://www.andovermontessori.org/html-stage/curric_MS1.html

THX

OSX 10.5.6 MAcBookPro DW CS4

domedia
02-04-2009, 06:08 PM
Can't see any image at all. Something is wrong with the JavaScript.
swapImage("swap 0", images); <- is there supposed to be a space in there?

Jenniec
02-04-2009, 10:17 PM
I took out the space between the [,] and the word [images] - didn't help. Is there supposed to be one somewhere else?

domedia
02-05-2009, 12:41 AM
the id you're using on th HTML element is 'swap0' not 'swap 0', look at your code :)