05-10-2006, 07:51 PM
|
#1
|
|
rather be programming
Join Date: Feb 2005
Location: City of Angels
Posts: 10,141
|
Z index of drop down menu vs. Flash z index
Hey,
This only happens in Safari apparently. I have a drop JS down menu created in Dreamweaver. Underneath the drop down menu i have a flash video embedded with the "Flash Objects" patch for IE.
The problem is the drop down menu goes behind the flash movie. How can I change the z index so that it drops in front of it? I image this is CSS controled and I suck at CSS.
Thanks.
__________________
trace("Good bye Flash.") Log.i(TAG, "Hello Droid");
|
|
|
05-10-2006, 09:52 PM
|
#2
|
|
rather be programming
Join Date: Feb 2005
Location: City of Angels
Posts: 10,141
|
BTW,
HTML Code:
#flashcontent2 {
margin-top: 20px;
margin-right: 20px;
margin-bottom: 7px;
margin-left: 20px;
z-index: -7;
}
This does NOT put the flash movie behinde the drop down menu, do I don't see how changing it could make it go infront.
Open to suggestions.
EDIT:
Quote:
Note: Z-index only works on elements that have been positioned (eg position:absolute !
|
Okay so z index wont work for me, any other ideas?
__________________
trace("Good bye Flash.") Log.i(TAG, "Hello Droid");
Last edited by Flash Gordon; 05-10-2006 at 10:29 PM.
|
|
|
05-10-2006, 10:43 PM
|
#3
|
|
>Teaching in Progress<
Join Date: Mar 2005
Location: Serbia
Posts: 666
|
As I remember, earlier versions of Flash player (or it was browser's fault) had this nasty habit to register themselves on top-most index no matter what you'd throw at them...
If you are changing z indexes of layers to have DHTML menu over Flash, and it doesn't work, then it's probably a thing with Safari... Check some of their support forums to see if there is a workaround (e.g. forcing embed object to be behind no matter what)... Just a suggestion - don't have a Mac so I can't really tell if that's the problem...
|
|
|
05-10-2006, 10:56 PM
|
#4
|
|
rather be programming
Join Date: Feb 2005
Location: City of Angels
Posts: 10,141
|
Thanks I look at it.
I don't have a MAC either, but on PC there are no problems in IE, FF or Opera.
I'm not sure if I can believe the client or not....
__________________
trace("Good bye Flash.") Log.i(TAG, "Hello Droid");
|
|
|
06-19-2006, 02:33 PM
|
#6
|
|
Registered User
Join Date: Jun 2006
Location: Columbia Maryland
Posts: 2
|
Possible Solution
Flash movies embedded into HTML files are not affected by the z-index. This results in the Flash movies to sit on top of any other content on the page (including drop down menus). The only way to solve the problem is to set the wmode to transparent or opaque. However, this methodology comes with several other problems. Older browsers sometimes don't support the wmode.
One of the biggest problems I found occurs with firefox and netscape. Although setting the wmode to transparent seemed to work fine at first, there were problems with flash buttons after scrolling through the html page. Every time the page was scrolled up or down, the Flash movie would move the hit area away from the flash buttons. REALLY ODD.
Solution to this flash layering problem in HTML:
-First: set the wmode to transparent or opaque
-Second: keep the flash movie with transparency/opacity in an iFrame (this fixes the scrolling problem)
-Third: Make sure that you're supporting older browsers by including alternate content that doesn't require iFrames.
Good Luck.........
|
|
|
07-24-2006, 08:27 PM
|
#7
|
|
www.ZusnkiGraphics.com
Join Date: Aug 2005
Posts: 152
|
any luck on any of these suggestions?
im dealing with that sort of problem now, only i can not change the .js code
|
|
|
07-24-2006, 08:34 PM
|
#8
|
|
rather be programming
Join Date: Feb 2005
Location: City of Angels
Posts: 10,141
|
simply make the wmode=transparent and the problem is sovled!
With older browsers this doesn't work, but freakin' update
__________________
trace("Good bye Flash.") Log.i(TAG, "Hello Droid");
|
|
|
07-24-2006, 08:46 PM
|
#9
|
|
rather be programming
Join Date: Feb 2005
Location: City of Angels
Posts: 10,141
|
Update
In response to my original post, I was trusting a client's point of view. I had a member of AS[org] check it for me using Safari and he said it looked just fine.
The fix is to make the wmode=transparent (or something comproable). I'm not sure how much I can trust my client (as he was rather computer illerate) but all browser that I have tested this on works just fine, even Safari.
< CLOSED />
__________________
trace("Good bye Flash.") Log.i(TAG, "Hello Droid");
|
|
|
07-24-2006, 09:28 PM
|
#10
|
|
www.ZusnkiGraphics.com
Join Date: Aug 2005
Posts: 152
|
sweet that worked
|
|
|
| Thread Tools |
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 03:06 AM.
///
|
|