1) Script Title: Swiss Army Image Slide Show Script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...army/index.htm
3) Describe problem: I have a page with a slideshow and a video on it. The video opens up using Shadowbox. My client is asking me if we can have the slideshow pause when the user opens the video with shadowbox. Does anybody have any ideas?
Here's the URL: http://carpet.server287.com/. If you click the video screenshot, the video will open up in shadowbox and you can see the slideshow in the background still running.
The Shadowbox code (see below) is in JavaScript:
I was hoping I could add a line in that .init() function that would reference the slideshow and have it pause. Then add a line in the onFinish() function that would have the slideshow un-pause.Code:<script type="text/javascript"> Shadowbox.init({ players: ["img", "flv", "iframe"], flvPlayer:"/thirdparty/libraries/mediaplayer/player.swf", modal: true, onFinish: function () { document.getElementById("sb-overlay").onclick = Shadowbox.close; } }); </script>
Is there any way to do this? Thanks in advance for your help!



Reply With Quote
Bookmarks