Webforumz's RSS FeedRSS Webforumz RegistrationRegister Contact Webforumz StaffContact

Little issue with embed object

This is a discussion on "Little issue with embed object" within the Web Page Design section. This forum, and the thread "Little issue with embed object are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Sep 14th, 2006, 22:13
Up'n'Coming Member
Join Date: Aug 2006
Location: Peru
Age: 22
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Little issue with embed object

Hi there, well here's the deal:
I have a drop down menu(one of those in wich the submenu appears when the mouse is over). Well it works perfectly, but when I embed an swf movie next to it, the submenu is shown behind the swf and just a bit of it is visible. I'm guessing maybe there's some way to send the swf to the back so the menu appears in the front. Be noticed that I can't move the swf nor the menu.
I anyone could help me, I'd be greatful.....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old Sep 14th, 2006, 23:12
Up'n'Coming Member
Join Date: Aug 2006
Location: Australia
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Little issue with embed object

could you post your code or a link to your page. that way we can see what is happening.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Sep 14th, 2006, 23:25
Up'n'Coming Member
Join Date: Aug 2006
Location: Peru
Age: 22
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Little issue with embed object

Ok, here it is:

-This creates the whole header of muy page, as you can see, the menu is done by a javascript, I've tested it and works great without the swf. Sorry about all those tables, I'll try to get rid of them.
<TR>
<TD align=right width="100%" background="../image/r_redlieds.org11.gif" height=21>
<SCRIPT src="../javaScript/xaramenu.js"></SCRIPT>
<SCRIPT src="../javaScript/menu_top.js"></SCRIPT>
</TD>
</TR>
<TR>
<TD vAlign=center bgColor=#31659c height=1 ALIGN="LEFT">
<TABLE cellSpacing=0 cellPadding=0 width=760 bgColor=#31659c border=0>
<TR>
<TD width=520 height=1>
<OBJECT id=RedLIEDS
codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0
height=65 width=515 classid=clsid27CDB6E-AE6D-11cf-96B8-444553540000>
<PARAM NAME="_cx" VALUE="13626">
<PARAM NAME="_cy" VALUE="1720">
<PARAM NAME="FlashVars" VALUE="">
<PARAM NAME="Movie" VALUE="../RedLIEDS.swf">
<PARAM NAME="Src" VALUE="../RedLIEDS.swf">
<PARAM NAME="WMode" VALUE="transparent">
<PARAM NAME="Play" VALUE="-1">
<PARAM NAME="Loop" VALUE="0">
<PARAM NAME="Quality" VALUE="High">
<PARAM NAME="SAlign" VALUE="">
<PARAM NAME="Menu" VALUE="-1">
<PARAM NAME="Base" VALUE="">
<PARAM NAME="AllowScriptAccess" VALUE="always">
<PARAM NAME="Scale" VALUE="ShowAll">
<PARAM NAME="DeviceFont" VALUE="0">
<PARAM NAME="EmbedMovie" VALUE="0">
<PARAM NAME="BGColor" VALUE="FFFFFF">
<PARAM NAME="SWRemote" VALUE="">
<PARAM NAME="MovieData" VALUE="">
<PARAM NAME="SeamlessTabbing" VALUE="1">
<EMBED src="../RedLIEDS.swf"
loop="false" quality="high" bgcolor="#FFFFFF" WIDTH="515"
HEIGHT="65" NAME="RedLIEDS" ALIGN=""
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
</TD>
<td>
<div align="rigth">
<table border="0" width="87" cellspacing="0" cellpadding="0" height="0">
<tr>
<td><img border="0" src="../image/r_cabecera_buscar.gif">
</td>
</tr>
<tr>
<td width="192" bgcolor="#BDD0F3" height="30" background="version4/fondo_catalogo.gif" align="center">
<a href="../advanced-search"><img alt="" src="../image/r_buscar_todo.gif" border="0"></A>
</td>
</tr>
</table>
</div>

</td>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>

Hope it helps you help me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Sep 15th, 2006, 12:30
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Little issue with embed object

Actually I think what Powderhound meant was a link to a live page.

However, what you have is a layering or z axis problem.

Your browser has a z axis as well as an x and y axis.

As the browser works through the code resolving its display, block level elements are given a default z position gradually stacking up on top of each other.

If you move the code for the swf in your file to before the code for the menu, you will probably find the problem goes away.

You can of course override the default positioning by using the css attribute - z-index.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Sep 18th, 2006, 05:12
Ryan Fait's Avatar
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,787
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Little issue with embed object

Those don't always work; both the HTML order and z-index. I've faced that problem in the past and found no way to get around it in certain browsers. Even if it does magically work, flickering tends to occur making the menu pop in and out of site.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
little, issue, embed, object

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
embed mykl Flash & Multimedia Forum 7 Oct 24th, 2007 13:44
Need help using object/embed tags to embed java applet Jon1123 Web Page Design 2 Apr 10th, 2007 23:31
ufo object issue in IE jwalker80 JavaScript Forum 0 Feb 25th, 2007 15:14
how do i embed.. KillSwitch PHP Forum 4 Jul 12th, 2006 20:12


All times are GMT. The time now is 19:42.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8