Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-02-2005, 01:53 PM   PM User | #1
jaywhy13
Regular Coder

 
Join Date: Dec 2004
Location: Jamaica
Posts: 592
Thanks: 2
Thanked 0 Times in 0 Posts
jaywhy13 is an unknown quantity at this point
Angry Object Z-index Woes!!!!!

Okay.... I just got me a macromedia shockwave banner on my site that I created. However, prior to puttin it there.... I have a drop dow menu.... when you roll over the menu item a box drops down with options. The menu that appears, appears above all elements in the page.. (z-index:20) but since the macromedia movie is there now the drop down menu falls behind the OBJECT.

Is there a way that I could remedy this....
I have a pic attached showing what I mean.
Attached Thumbnails
Click image for larger version

Name:	thisiswhatimean.gif
Views:	215
Size:	23.0 KB
ID:	3042  
__________________
I'm gonna find a way to download the internet if its the last thing I do...
Prepare to bow down to me (or my grave) and call me almighty when the algorithm is finished
jaywhy13 is offline   Reply With Quote
Old 02-02-2005, 02:13 PM   PM User | #2
A1ien51
Senior Coder

 
A1ien51's Avatar
 
Join Date: Jun 2002
Location: Between DC and Baltimore In a Cave
Posts: 2,717
Thanks: 1
Thanked 94 Times in 88 Posts
A1ien51 will become famous soon enough
Forum Search does wonders:

http://www.codingforums.com/showthre...=Flash+z-index

Eric
__________________
Tech Author [Ajax In Action, JavaScript: Visual Blueprint]
A1ien51 is offline   Reply With Quote
Old 02-03-2005, 12:02 AM   PM User | #3
jaywhy13
Regular Coder

 
Join Date: Dec 2004
Location: Jamaica
Posts: 592
Thanks: 2
Thanked 0 Times in 0 Posts
jaywhy13 is an unknown quantity at this point
I know i must sound pretty dumb sayin this but uhhh.... I read the article and I'm not too clear on summin....

Mind you. I've tried and it has not worked!

Do i do summin like <iframe> <object></object> </iframe>


I'm not too clear where the shockwave object code needs to go

Plz help!
A1ien51..... anyone?
__________________
I'm gonna find a way to download the internet if its the last thing I do...
Prepare to bow down to me (or my grave) and call me almighty when the algorithm is finished
jaywhy13 is offline   Reply With Quote
Old 02-03-2005, 12:40 AM   PM User | #4
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
is it a shockwave banner or a flash banner? and its background is it completely constructed of an image? i know when i have had similar problems with my flash file i would set the parameter for wmode to transparent im not too sure how it will work with shockwave files
Code:
<param name="wmode" value="transparent">
doing that for flash will make the background transparent if its not constructed of an image which is y i ask if yours is made of an image and not just a single stripe and then the document color is white, u would also have to add wmode="transparent" to your embed tag or if u dont want to use transparency, u would add style="z-index:-1" or w/e it takes to get it to display below your menu, z-index refers to the layer the element is displayed on for example if i had an iframe and text over the iframe and the iframe had a z-index of 0 and the text had a z-index of 1 it would display over the iframe now if i had the iframe set to a z-index of 1 and the text set to a z-index of 0 the iframe would display over the text and u wont ever see the text unless the iframe is taken away or the z-indexes are change

Last edited by _Aerospace_Eng_; 02-03-2005 at 12:46 AM..
_Aerospace_Eng_ is offline   Reply With Quote
Old 02-03-2005, 04:37 AM   PM User | #5
jaywhy13
Regular Coder

 
Join Date: Dec 2004
Location: Jamaica
Posts: 592
Thanks: 2
Thanked 0 Times in 0 Posts
jaywhy13 is an unknown quantity at this point
okay i don't know too much about it. I created it using macromedia flash mx and its saved as .swf extension.

I was hoping i could run with the examples that were supplied... the whole concept of shimmin with a DIV, but i don't understand it totally and need some clarity.

I've tried z-index tricks and that does not work.
Hey Aerospace... did u take a look at the picture i posted originally? What exactly will the "wmode" thingy do for me?
__________________
I'm gonna find a way to download the internet if its the last thing I do...
Prepare to bow down to me (or my grave) and call me almighty when the algorithm is finished
jaywhy13 is offline   Reply With Quote
Old 02-03-2005, 04:57 AM   PM User | #6
glenngv
Supreme Master coder!


 
glenngv's Avatar
 
Join Date: Jun 2002
Location: Los Angeles, CA Original Location: Philippines
Posts: 10,241
Thanks: 0
Thanked 112 Times in 111 Posts
glenngv will become famous soon enough
Did you see the demo page in the thread that Alien51 posted?

http://dotnetjunkies.com/WebLog/jkin...0/30/2975.aspx
__________________
Glenn
_____________________________________________
Play Tower of Hanoi Android app (Ad-FREE!)
Play Tower of Hanoi Android app (FREE!)
Go to Tower of Hanoi Leaderboard
Play Tower of Hanoi Facebook app
glenngv is offline   Reply With Quote
Old 02-03-2005, 07:00 AM   PM User | #7
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
can u upload ur .fla file in a zip file? u should know a lot about if u made it... if u read this post then u would know what wmode does http://www.codingforums.com/showthre...=Flash+z-index wmode="transparent" will do exactly as it says, it will make the document background transparent unless u have an image as your background
_Aerospace_Eng_ is offline   Reply With Quote
Old 02-03-2005, 04:12 PM   PM User | #8
jaywhy13
Regular Coder

 
Join Date: Dec 2004
Location: Jamaica
Posts: 592
Thanks: 2
Thanked 0 Times in 0 Posts
jaywhy13 is an unknown quantity at this point
sorry... thanks. need to try that one
__________________
I'm gonna find a way to download the internet if its the last thing I do...
Prepare to bow down to me (or my grave) and call me almighty when the algorithm is finished
jaywhy13 is offline   Reply With Quote
Old 02-06-2005, 06:34 AM   PM User | #9
jaywhy13
Regular Coder

 
Join Date: Dec 2004
Location: Jamaica
Posts: 592
Thanks: 2
Thanked 0 Times in 0 Posts
jaywhy13 is an unknown quantity at this point
I've attatched the flash file. Sorry I took so long, responding to tha post.
Attached Files
File Type: zip flashmovie1.zip (5.2 KB, 141 views)
__________________
I'm gonna find a way to download the internet if its the last thing I do...
Prepare to bow down to me (or my grave) and call me almighty when the algorithm is finished
jaywhy13 is offline   Reply With Quote
Old 02-06-2005, 10:16 AM   PM User | #10
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
okay now lets give this wmode a try its always seemed to work for me when i had a menu that tried to hide behind the flash
Code:
<object type="application/x-shockwave-flash" data="flashmovie1.swf" width="550" height="100">
<param name="movie" value="flashmovie1.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
</object>
_Aerospace_Eng_ is offline   Reply With Quote
Old 02-06-2005, 12:02 PM   PM User | #11
jaywhy13
Regular Coder

 
Join Date: Dec 2004
Location: Jamaica
Posts: 592
Thanks: 2
Thanked 0 Times in 0 Posts
jaywhy13 is an unknown quantity at this point
THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thanks alot man!
Neways... that method is beautiful... is it cross browser supported?
__________________
I'm gonna find a way to download the internet if its the last thing I do...
Prepare to bow down to me (or my grave) and call me almighty when the algorithm is finished
jaywhy13 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:26 PM.


Advertisement
Log in to turn off these ads.