I am using switchmenu to open and play videos and then close them and stop the video. It works great for Opera, Safari and Firefox but with IE it does not stop the video from playing when closed. How do I stop the video in IE? Any help would be greatly appreciated.
The following is the script in the head section of my page.
And these are in the body of my page.Code:<script type="text/javascript"> <!-- function switchMenu(obj) { var el = document.getElementById(obj); if ( el.style.display != "none" ) { el.style.display = 'none'; } else { el.style.display = ''; } } //--> </script>
&Code:<div id="wrapper"> <div style='display:none' id="pysotof">
Code:<a onClick="switchMenu('pysotof');" title="Switch the Menu" style="cursor:pointer">



Reply With Quote
Bookmarks