473,586 Members | 2,566 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DHTML menu hidden by DIV in IE

25 New Member
Hi,
I am trying to implement a DHTML nav menu and I'm having a problem in IE8.

The page basically has 2 content areas in DIV tags. The menu is in the 1st DIV on the left and the page content is in the main DIV on the right.

The problem is that when the menu expands on mouseover it goes under the content area to its right. (Only happens in IE.)

Any suggestions on how I can send the content area DIV ("content-zone") to the back so that the menu displays properly? I'm assuming it has something to do with the Z-Index property.

The "PLVFOaASHHVADi v" and its contents are being generated using a 3rd party tool (whose tech support hasn't been very helpful). Haven't been able put the menu on top by changing its settings, so I'm focussing on pushing the other DIV back instead.
Attached is the HTML along with the javascript file it uses for the menu.

Thanks.

P.S. Here is the code inline.

HTML:
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>blah blah</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <meta http-equiv='expires' content='0'><meta http-equiv='pragma' content='no-cache'> 
  7. <meta http-equiv="X-UA-Compatible" content="IE-7">
  8.  
  9. <style type="text/css">
  10. <!--
  11. /* from colors.css */
  12. #borderTopColor                    {border-top:5px solid #B24700;}
  13. #color                            {color:#B24700;}
  14. #tableborderline                {border-collapse: collapse;border-color:#B24700;}
  15. #tblbgColor                        {background-color:#B24700;}
  16.  
  17. /* from page-layout.css */
  18. body{
  19.  margin: 0;
  20.  padding:0;
  21.  background: #1A50B8; /* goes w/dblue.css */
  22.  color: #333333;
  23.  }
  24.  
  25. #hdr{
  26.  height:130px;
  27.  background:#ffffff; 
  28.  color:#000000;
  29.  border:solid #000000;
  30.  border-width:2px 0px;
  31.  margin:5px 0 0 0;
  32.  text-align:center; }
  33.  
  34. #lh-col{
  35.  position: absolute;
  36.  top: 150px;
  37.  left: 10px;
  38.  width: 180px;
  39. /* border: 2px solid #000000;
  40.  background: #c0c0c0;
  41.  color: #333333;*/
  42.  margin: 0px;
  43.  padding: 0px;
  44.  height: 400px;
  45.  }
  46.  
  47. #content-zone{
  48.  margin: 20px 20px 20px 140px; 
  49.  border: 2px solid #000000;
  50.  background: #ffffff;
  51.  color: #333333;
  52.  padding: 20px;
  53.  position :relative;
  54.  z-index: inherit
  55.  }
  56. -->
  57. </style>
  58.  
  59. </head>
  60. <body>
  61.  
  62. <!-- beg HEADER --><div id="hdr">[SNIPPED]</div><!-- end HEADER area -->
  63. <!-- beg NAV --><div id="lh-col">
  64. <div id="PLVFOaASHHVADiv" style="width:125px;position:relative;z-index:50;">
  65. <div>
  66.   <ul style="float:left;margin:0;padding:2px;width:119px;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;border:solid 1px #000000;background-color:#7FBAFF;">
  67.     <li style="display:block;float:left;width:117px;height:17px;text-align:left;border:solid 1px #7FBAFF;"><a style="display:block;padding:2px 6px 0px 6px;text-decoration:none;color:#000000;" href="#">A</a></li>
  68.     <li style="display:block;float:left;width:117px;height:17px;margin-top:0px;text-align:left;border:solid 1px #7FBAFF;"><a style="display:block;padding:2px 6px 0px 6px;text-decoration:none;color:#000000;" href="#">B</a></li>
  69.     <li style="display:block;float:left;width:117px;height:17px;margin-top:0px;text-align:left;border:solid 1px #7FBAFF;background: url(Pluginlab/fo_arrow.gif) no-repeat 110px 50%;"><a style="display:block;padding:2px 13px 0px 6px;text-decoration:none;color:#000000;" href="#">C</a></li></ul></div><script type="text/javascript" src="PLVFO5.js">/* PLVFOMenu script ID:PLVFOaASHHVA */</script>
  70. </div>
  71. </div><!--PLVFOYaLFHVADiv-->
  72. <br/>
  73. <!-- end NAV area -->
  74. <div id="content-zone">
  75.  
  76. <p>blah blah</p>
  77.  
  78.  
  79.  
  80. <p>&nbsp;</p>
  81. </div><!--content-zone-->    
  82. </body>
  83. </html>
  84.  
Attached Files
File Type: txt Bytes-question.html.txt (2.6 KB, 380 views)
Jul 16 '10 #1
1 1973
svendok
25 New Member
I figured it out. The container surrounding the DHTML code (in this case, "lh-col") needs to have a higher z-index value than the other DIV (in this case "content-zone").
Jul 16 '10 #2

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

Similar topics

2
3891
by: Jason | last post by:
I have a client that would like to have drop down menus added to a nav bar that is generated from MySQL. Is it possible to have a dynamically driven DHTML menu from MySQL? example link http://www.msnbc.msn.com/Default.aspx?p1=0
2
5287
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 RWD <script type='text/javascript'>
2
1578
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 pointer over the menu-entries and i come to the are where the i-frame is below the menu, the mousout-event is fired and the menu closes. Does anybody...
2
1732
by: Ilpo | last post by:
Hi! Is it possible to open DHTML menu from a select box option? I need a select box which shows a new sub-menu when pointing the mouse over an option. Does anyone know is this possible? The option onMouseover doesn't seem to work. Thanks for any help!!
1
1337
by: Davidson | last post by:
Could someone advises me some good books or information about DHTML menu? Thanks in advance.
5
7183
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 with IE, Netscape, Firefox. Yet in Opera the menu is going behind the flash animation. Can anyone suggest a solution to solve this issue. Thanks
0
1080
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 database. The data can be modified any time.
1
1879
by: singmadhan | last post by:
Hi Frnds, I am working in an ASP.Net Application and creating a DHTML menu using JavaScript. There is a drop down list box below the menu, when ever I am dragging the menu the DropDownList box overlaps the menu and the menu item in that particular place is hidden.. Cld anyone pls give me a solution reg this asap..
2
1854
by: warrenf | last post by:
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...
1
1555
by: ashokc | last post by:
Under Linux DHTML menu going behind flash animation. I have set the <param name="WMODE" value="transparent">. This menu is showing fine when i test under Windows systems with IE, Firefox. Yet in Linux the menu is going behind the flash animation. Please suggest a solution to solve this issue. Thanks, AC
0
8202
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8338
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8216
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6614
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3837
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.