drop down going behind

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
phpquery
Forum Newbie
Posts: 13
Joined: Thu Dec 04, 2008 3:29 am

drop down going behind

Post by phpquery »

Hi,

The drop down is going behind the flash file here on Fire Fox. I don't have access to the source codes for the flash file.

Please see the code here. What edits / changes can i do to the code to make the drop down come on the front on all browsers.

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shoc ... on=9,0,0,0"
width="460" height="270" id="gallery" align="middle"> //pp <param
value="opaque" name="wmode"> //pp <param name="allowScriptAccess"
value="sameDomain" /> <param name="allowFullScreen" value="false" />
<param name="movie" value="gallery.swf" /><param name="quality"
value="high" /><param name="bgcolor" value="#000000" /> <embed
src="gallery.swf" wmode="opaque" quality="high" bgcolor="#000000"
width="460" height="270" name="gallery" align="middle"
allowScriptAccess="sameDomain" allowFullScreen="false"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object>

Thanks in advance.

phpquery
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: drop down going behind

Post by papa »

What dropdown ?
phpquery
Forum Newbie
Posts: 13
Joined: Thu Dec 04, 2008 3:29 am

Re: drop down going behind

Post by phpquery »

Hi Craven,

Attached is the screen shot for your reference.


thanx,

phpquery
Attachments
screen shot
screen shot
codescreenshot.JPG (22.65 KiB) Viewed 174 times
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Re: drop down going behind

Post by RobertGonzalez »

This is a limitation of the browser. You are probably going to have to put your menu code into an iFrame to layer it properly when rendered. Or, use a Javascript library that takes care of z-indexing for you. I think jQuery offers some menus that handle that for you.
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Re: drop down going behind

Post by panic! »

Also this will only work if they have a newer version of Flash player installed, until quite recently it was impossible to have anything on top of a Flash embed..Very annoying!
Post Reply