Hello developers ... today's tip is very simple but for some new developers it may waste most of their time thinking that it is a PROBLEM !!
Here is the Problem :
i develop a website that contains a flash banner, or a flash embedded object , and when i hover on the menu, the sliding sub-menu goes BEHIND the embedded flash object !!
solution is very simple actually, just when you embed your flash object write this property inside the embedding code :
wmode="opaque"
Example :
<embed height="260" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="[YOUR-FILE].swf" type="application/x-shockwave-flash" width="950" wmode="opaque"></embed>
Internet Explorer Tip :
the previous tip will work in all browsers, except IE ( as usual !! ) so to make it work also in IE just add the following tag before the <embed> tag :
<param name="wmode" value="opaque" />
This opaque Window Mode will work like ( z-index ) in minus values for the flash object.
Here is the Problem :
i develop a website that contains a flash banner, or a flash embedded object , and when i hover on the menu, the sliding sub-menu goes BEHIND the embedded flash object !!
solution is very simple actually, just when you embed your flash object write this property inside the embedding code :
wmode="opaque"
Example :
<embed height="260" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="[YOUR-FILE].swf" type="application/x-shockwave-flash" width="950" wmode="opaque"></embed>
Internet Explorer Tip :
the previous tip will work in all browsers, except IE ( as usual !! ) so to make it work also in IE just add the following tag before the <embed> tag :
<param name="wmode" value="opaque" />
This opaque Window Mode will work like ( z-index ) in minus values for the flash object.
No comments:
Post a Comment