Current location: Hot Scripts Forums » General Web Coding » Flash & ActionScript » [SOLVED] ZIndex


[SOLVED] ZIndex

Reply
  #1 (permalink)  
Old 03-28-08, 12:42 PM
DAL's Avatar
DAL DAL is offline
Code Master
 
Join Date: Jun 2003
Location: North East England/UK
Posts: 874
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] ZIndex

Not sure if this was supposed to go here or in the flash forum or in the javascript forum???

I have this simple code.
Code:
    <div id="AreaOne" style="width:260px;height:260px;position:absolute;z-index:1">
	<div id="AreaOne1a" style="z-index:1" >
	<script language="javascript">
	var yourDevKey = "Key Supplied by YT";
	var params = { allowScriptAccess: "always" };
	var atts = { id: "myytplayer" };
	swfobject.embedSWF("http://gdata.youtube.com/apiplayer?key="+yourDevKey+"&enablejsapi=1&playerapiid=ytplayer","AreaOne1a", "100", "100", "8",null, null, params, atts);
	</script>
 	</div>
   </div>
The Zindex is always higher than any Div index I make for the swfobject. Why is that and how do I get around this?

Thanks
Dal
__________________
"once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of 'hot xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour," 'Tis not possible!", i muttered, "give me back my free hardcore!" quoth the server, 404."
Reply With Quote
  #2 (permalink)  
Old 03-28-08, 04:29 PM
DAL's Avatar
DAL DAL is offline
Code Master
 
Join Date: Jun 2003
Location: North East England/UK
Posts: 874
Thanks: 0
Thanked 0 Times in 0 Posts
It seems after hours of searching that the problem is apparently with the way that youtube has created the chromeless player. As I understand the movie needs to be created with certain perameters for the WMode Transparent to work as a DHTML element when it comes to Z-Indexes.

Can anyone confirm if this sounds like the problem or if anyone has used the youtube chromeless player.

Any feedback would be appreciated.

Thanks
Dal
__________________
"once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of 'hot xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour," 'Tis not possible!", i muttered, "give me back my free hardcore!" quoth the server, 404."
Reply With Quote
  #3 (permalink)  
Old 03-28-08, 05:59 PM
DAL's Avatar
DAL DAL is offline
Code Master
 
Join Date: Jun 2003
Location: North East England/UK
Posts: 874
Thanks: 0
Thanked 0 Times in 0 Posts
Its ok. I figured it out.
As you can see Im new to this.

var params = { allowScriptAccess: "always", wmode: "transparent"};
__________________
"once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of 'hot xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour," 'Tis not possible!", i muttered, "give me back my free hardcore!" quoth the server, 404."
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] More Div Issues (ZIndex) DAL JavaScript 1 03-21-08 06:25 AM
[SOLVED] Counting Divs DAL JavaScript 7 03-19-08 05:58 PM
DHTML layer "behind" dropdown menus !?! paulwynd JavaScript 3 01-14-04 07:57 AM


All times are GMT -5. The time now is 06:41 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.