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.baseURL="web/";
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);
</script>

Can someone please assist me?

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

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:

params.wmode="opaque";
Steven Speirs
SimpleViewer Support Team.

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

monkeyboy

It worked like a dream. smile  smile  smile  smile  smile

Many thanks, TheTyke. smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile