Z-Index not working correctly


D

Dave

I have a site that's a ASP.Net 4.0 app. On my Master I have a menu
control. On my aspx I have a SWF Viewer. I've set the Z-index on my
menu from 2 to 999 with no luck. It still drops down behind the
Viewer on my aspx page.

Any Suggestions?

////////////////////////////////////////////////////////
Master Page
////////////////////////////////////////////////////////
<head runat="server">
<title></title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<asp:ToolkitScriptManager ID="ToolkitScriptManager1"
runat="server">
</asp:ToolkitScriptManager>
<div align="center">
<div style="width: 1024px; text-align: left;">
<table width="100%">
<tr>
<td>
<table width="100%">
<tr>
<td width="750px">
<asp:Image ID="Image"
runat="server" ImageUrl="~/images/New Picture (22).png" />
<asp:Label ID="ReportErrorLabel"
runat="server" OnPreRender="ReportErrorLabel_PreRender"
Style="color: #FF0000"></
asp:Label>
</td>
<td style="font-size: 24px;">
<strong>Self Directed Learning</
strong>
</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#F0F0F0" >
<td>
<table width="100%">
<tr style="height: 30px">
<td width="750px">
<div style="margin-left: 10px;">
<asp:DropDownList
ID="ApplicationDropDownList" runat="server"
DataSourceID="ApplicationSqlDataSource"

DataTextField="Application" DataValueField="aID"

onselectedindexchanged="ApplicationDropDownList_SelectedIndexChanged">
</asp:DropDownList>
</div>
</td>
<td>
<div align="right">
<div>
<asp:Menu ID="JSDLMenu"
runat="server" DataSourceID="JSDLSiteMapDataSource"
DynamicHorizontalOffset="2"

MaximumDynamicDisplayLevels="4" Orientation="Horizontal"
StaticDisplayLevels="2"

StaticEnableDefaultPopOutImage="False" StaticSubMenuIndent="10px">
</asp:Menu>
</div>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<asp:ContentPlaceHolder
ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
</table>
</div>
</div>
<asp:SiteMapDataSource ID="JSDLSiteMapDataSource" runat="server"
SiteMapProvider="JSDLsecureProvider" />
<asp:SqlDataSource ID="ApplicationSqlDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:pLIConnectionString %>"
ProviderName="<%$
ConnectionStrings:pLIConnectionString.ProviderName %>"
SelectCommand="ApplicationTable_DROPDOWN"
SelectCommandType="StoredProcedure"></asp:SqlDataSource>
</form>
</body>
</html>


////////////////////////////////////////////////////////
On my aspx I have a SWF Viewer.
////////////////////////////////////////////////////////

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2"
runat="Server">
<asp:panel ID="Panel1" runat="server" Visible="false">
<div style="width: 735x; height: 545px;">
<div style="margin-top: 10px;">
<object classid="clsid:D27CDB6E-
AE6D-11cf-96B8-444553540000" codebase="http://macromedia.com/cabs/
swflash.cab#version=4,0,0,0"
id="flaMovie" style="height: 519px; width:
684px;">
<param name="movie" value='<%
=Request.QueryString["src"].ToString()%>' />
<param name="quality" value="medium">
</embed>
</object>
</div>
</div>
</asp:panel >
</asp:Content>
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top