Hi, First post here, so I hope this is the right place. I'm a
newbie developing a website using Spry (1.6) and Dreamweaver (CS3).
I have adapted a slide show from the "gallery" demo program. The
slide show runs in a sidebar div. I have substantially adapted the
"gallery" code. I've tested under IE 6.0, FF 2.0, Netscape 9.0, and
Opera 9.24. These all work perfectly except for a bug in the
navigation buttons of the slide show with Opera 9.24. Unfortunately
during most of the development I just tested with IE and FF, so I
don't know at what point the bug crept in.
Just as with "Gallery", the slide show runs off a timer, with
the option of manually selecting "previous" "play/pause" or "next".
The timer mode works perfectly under Opera. However, when I use the
manual buttons I get strange behavior.
To debug, I put an "alert" in the OnClick function for the
"Next" button. This stops processing at the end of the function. At
this point everything looks fine - the next image and text have
been displayed. However, after I press OK on the alert dialog,
something triggers a reload of the XML dataset, resulting in a
second refresh with the first image in the dataset displayed.
The only difference between the timer function and the "Next"
OnClick function is that the "Next" function first stops the slide
show. If I remove the StopSlideShow call, so that the two are
identical, I still see the same behavior.
One difference with Gallery is that In my dataset has a
nested dataset that displays text, with a Spry:repeat region to
display the nested dataset.
Any suggestions?
Thanks!
Tim Howells