1 (edited by TheTyke 2010-02-07 09:42:00)

Topic: [Resolved] Simple viewer covering dhtml drop down menu

Before anyone starts shouting at me can I say that I've looked through previous posts on this subject and I can't seem to get the suggested solutions to work for me.

I presume that I have to enter this in the code fo.addParam("wmode", "opaque");

But where do I add it?

I have loaded the javascript into my header.php. Do I add this line in there?

<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "gallery.xml";
var params = {};
params.bgcolor = "006600";
params.allowfullscreen = true;
params.allowscriptaccess = "always";
swfobject.embedSWF("web/simpleviewer.swf", "flashContent", "400", "266", "9.0.124", false, flashvars, params);

Can someone please assist me?

Re: [Resolved] Simple viewer covering dhtml drop down menu

fo.addParam("wmode", "opaque");

... is the syntax for swfobject 1.5.  The rest of the code you posted is for swfobject 2.0 and above.  Therefore, use the following code in amongst the other 'params' lines:

Steven Speirs
SimpleViewer Support Team

Re: [Resolved] Simple viewer covering dhtml drop down menu


It worked like a dream. :)  :)  :)  :)  :)

Many thanks, TheTyke. :)  :)  :)  :)  :)  :)  :)  :)  :)  :)  :)