I finally found a solution to this method which works... mostly. I am seeing only one issue that happens on Safari and Firefox on the Mac where the button doesn't work on first load for some reason. Almost like it has to set the toggle. But otherwise it works perfectly.
I've modified the method based on using the toggle.js rather than the javascript above. This seems to be more iron clad between browsers. I was having a lot of trouble using the swfobject method which we were trying to nest inside of the other javascript. IE did not like this at all and produced inconsistencies we were unable to resolve. So we stripped it out. Obviously this means that we are now relying on the basic Flash plug-in detection now. Here's what we got: http://dev.darcydesign.com/flash/video-zindex/store1-templates/index-v6-WORKING.html This is using the toggle.js method for showing and hiding the video. Script: <script type="text/javascript" src="../_js/toggle.js"></script> Styles <style type="text/css"> /* this is for the video widows */ #ShowHide1 { display: none; } .vidShow { display:none; position: absolute; top: 20px; left: 0px; z-index: 5; } </style> code for the button: <a href="javascript:toggleLayer('ShowHide1')"><img src="../store/ templates/Original1/images/buttons/english/button_video.gif" width="77" height="19" border="0"></a> code to place the video: <!-- ################# video pop ups start here #####################--> <div id="ShowHide1" class="vidShow"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://www.adobe.com/shockwave/download/download.cgi? P1_Prod_Version=ShockwaveFlash" width="420" height="480" title="Video"> <param name="movie" value="../_media/NanaBeauticals-Intro. 1.swf"> <param name="quality" value="high"> <param name="wmode" value="transparent"> <param name="FlashVars" value="vid=played1"> <embed src="../_media/NanaBeauticals-Intro.1.swf" FlashVars="vid=played1" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="420" height="480"> </ embed> </object></noscript> </div> <!-- E of the showHide1 --> <!-- ################## video pop ups end here #################--> Hope you find this helpful! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
