473,461 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

DHTML Menu in DIV is hiding other DIV

Greetings,

I have been muddling my way through developing a DHTML menu. I finally have something workable. My problem now is that I have implemented my menus in a DIV that overlaps my 'master' DIV. The master DIV is visible when the menu's are not activated but once I mouse over one of my menus the master DIV gets obscured by the menu DIV. To boot this only happen on IE. Everything appears to render fine in FF and Opera.

I wonder where I might start looking. I have set all of my DIV and iframe backgrounds to transparent, in CSS.

I am happy to send code, but not sure which would be most meaningful, CSS, HTML or JS.

Thanks in advance,
Warren
Feb 5 '07 #1
2 1847
acoder
16,027 Expert Mod 8TB
Welcome to The Scripts.

I am not sure, but this this seems like a CSS transparency problem where your transparent div doesn't show as transparent thus obscuring the master div. If that is the case, you might be better off in the HTML/CSS forum. You should only need to post your HTML and CSS. If you can confirm that that is the case, I'll move this thread to that forum.
Feb 5 '07 #2
Thanks for the Welcome.

I am quite probably as new to newbie as they come in DHTML. But it is my suspicion that this is a transparency issue. Here is my code below...
BODY:
[HTML]<div id="container">
<div id="bannerbar">
<iframe id="bannerframe" src="banner.htm" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
</div>
<div id="menubar">
<iframe id="menuframe" src="menu.htm" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
</div>
<div id="maincontent">
<iframe id="mainframe" src="home.htm" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
<div id="notificationbar">
<iframe id="notificationframe" src="notification.htm" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
</div>
</div>
</div>[/HTML]

AND the css that styles it is:
Expand|Select|Wrap|Line Numbers
  1. html {
  2.     margin:0;
  3.     padding:0;
  4.     height:100%;
  5. }
  6.  
  7. body {
  8.     margin:0;
  9.     padding:0;
  10.     text-align:center;
  11.     height:100%;
  12.     font-size:10px;
  13.     font-family:Verdana;
  14.     background-color:#E6E6FA;
  15.     }
  16.  
  17. /* THE MAIN DIV */    
  18. #container {
  19.     position:relative;
  20.     width:800px;
  21.     margin:0 auto;
  22.     height:100%;    
  23.     background-color:#FFFFFF;
  24.     }
  25.  
  26. /* THE BANNER DIV & IFRAME */
  27. #bannerbar {
  28.     position:absolute;
  29.     top:0px;
  30.     left:0px;
  31.     z-index:1;
  32.     width:100%;
  33.     }
  34.  
  35. #bannerframe{
  36.     height:60px;
  37.     margin:0;
  38.     padding-left:5px;
  39.     padding-right:5px;
  40.     padding-top:1px;
  41.     text-align:center;
  42.     width:100%;
  43.     }
  44.  
  45. /* THE MENU DIV & IFRAME */
  46. #menubar {
  47.     position:absolute;
  48.     top:61px;
  49.     left:0px;
  50.     width:100%;
  51.     background-color:transparent;
  52.     }
  53.  
  54. #menuframe{
  55.     width:100%;
  56.     margin:0;
  57.     text-align:left;
  58.     background-color:transparent;
  59.     }
  60.  
  61. /* THE MAIN DIV & IFRAME */
  62. #maincontent {
  63.     position:absolute;
  64.     top:61px;
  65.     left:0px;
  66.     z-index:99;
  67.     width:100%;
  68.     }
  69.  
  70. #mainframe{
  71.     text-align:left;
  72.     padding-left:5px;
  73.     padding-right:5px;
  74.     padding-top:1px;
  75.     width:100%;
  76.     font-size:14px;
  77.     font-family:Verdana;
  78.     }
  79.  
  80. /* THE NOTIFICATION DIV & IFRAME */
  81. #notificationbar {
  82.     padding:0;
  83.     margin:0;
  84.     }
  85.  
  86. #notificationframe{
  87.     height:30px;
  88.     margin:0;
  89.     padding-left:0px;
  90.     padding-right:0px;
  91.     padding-top:0px;
  92.     text-align:left;
  93.     width:100%;
  94.     }
Thanks in advance.
Feb 5 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Rob McLennan - ZETLAND | last post by:
Hi, I have set up an external stylesheet, named "print.css", to format the style of all pages printed from my company's website. I've been previewing my changes to the stylesheet by doing...
2
by: RWD | last post by:
I am trying to figure out how to change the target frame in my hyperlink on a DHTML menu. The menu is in one frame and the target frame is called "main" The code is below: Thanks in advance...
2
by: Alexander Stuckenholz | last post by:
Hello. I have a problem with the dhtml-menu from http://www.brainjar.com/. Everything works fine with IE so far. But if i use the menu with firefox the menu opens, but if i move the mouse...
18
by: Andromeda | last post by:
I've been trying to add a tree menu to my website with some luck (more or less). I came across a script on simplythebest.net, but I seem to be having a problem with it... and since they have no...
5
by: Sura | last post by:
Hi I have designed a simple DHTML menu which comes over a flash animation when it appears. I have set the window mode as transparent in the flash project. This menu is showing fine when seen...
5
by: parksch2 | last post by:
Hi all, I'm having a hard time with the use of my DHTML menu and video on my site. The video is served using Windows Media Player. Short of hiding it, I can't seem to get my DHTML menu to appear...
4
by: Ian Hinson | last post by:
The pop-up (drop-down?) menu items that appear in both built-in and custom menubars since Office 2000 now sometimes appear "sunken" and by default are not visible, unless the chevron is clicked at...
0
by: news.msdn.com | last post by:
Hi, I have the following requirement. I need to create a DHTML menu control in ASP.NET For that these are the specs provided. 1) I have store the structure of the menu system in a...
1
by: Andi | last post by:
Using a DHTML dropdown menu, blocks of menu items should be displayed on top of the page to let the user choose a menu item. So, on top of my page (no matter how it is constructed), there should...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.