p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   Firefox - iframe and asp:menu (http://p2p.wrox.com/showthread.php?t=52981)

rturner003 January 20th, 2007 04:59 AM

Firefox - iframe and asp:menu
 
I have built an asp.net page using a master page as a header. The master page contains the asp:menu control.

The main page shows a iframe. The iframe is added dynamically to a placeholder and shows pdf files. The problem that I have is in Firefox the drop down menu options are hidden behind the iframe; in IE the menu options show properly.

s you can see I did add a z-index to the code but it made no difference.

strHTML = "<iframe id='ifrReport' z-index='-100000' style='width:100%;height:650px;' src='pdfs/"+ strReportFile + "'></iframe>";
//add iframe to previously defined placeholder
plhIFrame.Controls.Add(new LiteralControl(strHTML));

Has anyone any idea how to overcome this problem?

Thanks
Robert


All times are GMT -4. The time now is 11:36 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.