Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:35

Z-index Issue


Poster: jajalc
Dated: Thursday August 18 2005 - 1:43:56 BST

Hi,

We currently use Milonic Version 5.13 and now I just updated the script to Version 5.728...

We also have a license for it.... but the problem is that now all the select box displays in front of the menu

Did any one had this issue.. also tried to change the zindex property in the menustyle...

In our select box we have the zindex set as 140.. but if i take the zindex style off from the select box then it works fine.. and we already have many pages in which the zindex is already set.. and it use to work perfectly with version 5.13

Can any one plz help if u need more info. let me know.

cheers
Chintan


Poster: Andy
Dated: Thursday August 18 2005 - 7:06:52 BST

I'm guessing you are seeing this with Firefox or Netscape 7/8?

If so, what you need to do is add the parameter fixMozillaZIndex=true; to the top of your menu_data.js file.

Hope this helps,
Andy

No its not FireFox Its MSIE


Poster: jajalc
Dated: Thursday August 18 2005 - 12:36:36 BST

Thanks Andy for your reply....

but i m using the same browser and the same IE version.. .

Its actually the same project i m working on.. and only thing changed is the version of the menu.

Plz help.

Cheers
C


Poster: Andy
Dated: Thursday August 18 2005 - 12:41:39 BST

Adding fixMozillaZIndex=true; to the top of your data file should fix the problem.

If it still occurs though, let us have a URL so that I can see if there is anything else at fault.

Cheers,
Andy

Still the Select box appears in front of the menu


Poster: jajalc
Dated: Friday August 19 2005 - 2:23:34 BST

Thanks for your reply andy...

As per your suggestion.. i tried adding fixMozillaZIndex=true; but didnt help...

and also been to the sample http://www.milonic.com/menusample14.php...

In that page you hide the div tag using divhider.js...

You can just try my problem using the above menusample14.

Here is the sample code as on the web site:

<div id=formdiv1 name=formdiv1 style="position:relative">

<form>
<select>
<option>Testing to see
<option>if the menu will
<option>sit on top of
<option>select boxes
</select>

<select>
<option>Testing to see
<option>if the menu will
<option>sit on top of
<option>select boxes
</select>

</form>

</div>


and if you replace the code with this :

<form>
<select style="Z-INDEX:140; LEFT: 400px; POSITION: absolute;">
<option>Testing to see
<option>if the menu will
<option>sit on top of
<option>select boxes
</select>

<select>
<option>Testing to see
<option>if the menu will
<option>sit on top of
<option>select boxes
</select>

</form>


and take off the div tags... shouldnt it wor??.. or you can set the zindex of the menu more then 134 ???

What do you say... do i need to add the <div tag in all the pages????
and also add the divhider.js script?


Andy one more question....
We already have the license for this product... Can you plz. just tell me how to add it in the new version of the script

Here is old version milonic_src.js
/*

Milonic DHTML Menu - JavaScript Website Navigation System.
Version 5.13 - Built: Tuesday April 20 2004 - 11:53
Copyright 2004 (c) Milonic Solutions Limited. All Rights Reserved.
This is a commercial software product, please visit http://www.milonic.com/ for more information.
See http://www.milonic.com/license.php for Commercial License Agreement
All Copyright statements must always remain in place in all files at all times
******* PLEASE NOTE: THIS IS NOT FREE SOFTWARE, IT MUST BE LICENSED FOR ALL USE *******

License Number: 192*** for mywebsite

*/
licenseNumber=192*** ;licenseURL="mywebsite";_mD=2;and all the script



In the new script some variable names have changed.. so where m i suppose to change and add the licen. no. in that?

Cheers
Chintan