1) Script Title: Side Push Menu v1.1
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/pushmenu.htm
3) Describe problem: Not so much a problem as a query if something is possible. I am using multiple instances of the side push menu to be able to bring in additional content if wanted at various points on my site... A couple of these include videos. Now the problem is when the pushmenu screen is dismissed the video keeps playing (Unless the user thinks to manually stop it) leaving distracting audio playing.
What I was hoping to achieve is something that stops or better yet pauses the video when the menu is closed. I have no idea what I'm doing with javascript but I am assuming (Hoping!) there is some way to attach a "stop all media" code to activate when the menu is in the closed position? I don't want autoplay or anything so no need to have a play on open / stop on close function, just something that tells all media within the push section to stop when it is closed... (Or if easier just all media anywhere on the site, there are no videos outside of the content that slides in to be affected, and videos in other pushed content should already be stopped anyway)
Hope I've explained this well enough, and that a solution is a) possible, and b) hopefully simple to implement!
Bookmarks