3 replies [Last post]
jhamoen
Offline
newbie
Last seen: 6 years 11 weeks ago
Timezone: GMT-5
Joined: 2010-03-05
Posts: 2
Points: 3

Hi

My Drop down menu is displaying behind flash movie...why?; }

Do you know where I should put the wmode="transparent" code on my page to fix the flash/menu problem? I have tried several places in this section:

var flashvars = {portalEdition: "xml/to-eng.xml"};

var params = {};

var attributes = {};

attributes.id = "flashcontent";

swfobject.embedSWF("general_banner.swf", "flashcontent", "468", "166", "9.0.0", false, flashvars, params, attributes);

Tags:
gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 8 hours 8 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9549
Points: 3603

<param name="wmode"

<param name="wmode" value="transparent">

Unless you have compelling reason, e.g. a non-rectangular Flash, use "opaque" instead of "transparent"; it's less cpu intensive, thus quicker.

I am not a fan of SWFObject, but if you think you need to increase the complexity of your page ….

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Deuce
Deuce's picture
Offline
Guru
Las Vegas, NV
Last seen: 3 years 4 weeks ago
Las Vegas, NV
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4422
Points: 1841

An example I found is <script

An example I found is

<script type="text/javascript">
   var so = new SWFObject("movie.swf", "mymovie", "400", "100%", "8", "#336699");
   so.addParam("quality", "low");
   so.addParam("wmode", "transparent");
   so.addParam("salign", "t");
   so.write("flashcontent");
</script>

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

jhamoen
Offline
newbie
Last seen: 6 years 11 weeks ago
Timezone: GMT-5
Joined: 2010-03-05
Posts: 2
Points: 3

you tip

Thanks. I Can you tell me where exactlt to put that code? in the folowing?

var flashvars = {portalEdition: "xml/to-eng.xml"};

var params = {};

var attributes = {};

attributes.id = "flashcontent";

swfobject.embedSWF("general_banner.swf", "flashcontent", "468", "166", "9.0.0", false, flashvars, params, attributes);