How to add wmode=“transparent” for every flash object & ebmed tag?

后端 未结 6 741
無奈伤痛
無奈伤痛 2020-12-14 04:29

I have a page which displays dynamic flash content from issuu.com. I need to add wmode=\"transparent\" because otherwise navigation menu shows under flash. Is t

6条回答
  •  别那么骄傲
    2020-12-14 05:12

    From another post here in stackoverflow, using JQuery this works

    $("embed").attr("wmode", "opaque").wrap('
    '); I use this when using a FCKeditor youtube plugin, as the plugin doesn't wrap the embed node with a object node. $('embed').each(function(){ if($(this).parent()[0]['tagName'] !='OBJECT'){ $(this).attr("wmode", "opaque").wrap('
    '); } });

提交回复
热议问题