Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Problem with Spry / Opera

Community Beginner ,
Dec 05, 2007 Dec 05, 2007
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
TOPICS
Server side applications
284
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 05, 2007 Dec 05, 2007
LATEST
Tim Howells wrote:
> 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).

Your problem is a very specific issue with Spry, so you stand a much
better chance of getting the help you need in the Spry forum:

http://www.adobe.com/go/labs_spry_pr1_forum

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines