Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:45
well...i have the new beta, but
Poster: Andy
Dated: Tuesday February 19 2002 - 15:20:12 GMT
<HTML>the menu still goes behind select boxes in IE.
what do i do?</HTML>
Re: well...i have the new beta, but
Poster: dwormans __at__ msu.edu
Dated: Tuesday February 19 2002 - 15:45:51 GMT
<HTML>in the meantime i'm just using the show/hide div trick.</HTML>
Re: well...i have the new beta, but
Poster: Anonymous
Dated: Sunday May 19 2002 - 19:52:06 BST
<HTML>That's all you can do it's the browser that has the problem, not the menu.
-- Andy</HTML>
Re: well...i have the new beta, but
Poster: Anonymous
Dated: Sunday May 19 2002 - 19:52:07 BST
<HTML>Can you elaborate on the "show/hide div trick"?
I understand how to show and hide select boxes using style="display:none".
What I don't know how to do is capture the event of the mouse entering the menu, and exiting the menu to kick off a show/hide script.
A source code example would be most excellent.
I remember seeing a proposed parameter for the beta that would do this automatically by just providing the class tag of the select boxes. Is that implemented yet, and if so, where can I get it?
Thanks in advance.</HTML>
Re: well...i have the new beta, but
Poster: Anonymous
Dated: Sunday May 19 2002 - 19:52:08 BST
<HTML>the latest versions (3.3.0 and up, current 3.3.12) have an array variable to set the div id to hide when the menu is active. In this way you can set the form in a div class and hide it's id when the menu is moused over. The comments in the array file will show you the proper one to set.
Cheers,
Yadin</HTML>
Re: well...i have the new beta, but
Poster: Anonymous
Dated: Sunday May 19 2002 - 19:52:09 BST
<HTML>Thanks a bunch. I got it working, however...
It seems to behave a bit strangely. If I add it only at the "mainmenu" level it has no affect. If I add it at the parent of each sub menu (I have menus 3 deep) it works, but not perfectly. When I mouse into the menu, the SELECT box inside the DIV tag indeed disappears, but then when I slide the mouse into the menu to the left or right, it re-appears. For every menu, it disappears if I start in it, but it reappears when I leave it even if I'm entering another menu that has the ID tag set.
If I set the top "mainmenu" to OnClick, then if I click them it will hide the DIV, But sliding one over it comes back until I click (but normally would not click since the menu is still open).
I treid adding the ID to all sub menus, and it seems to behave exactly the same as it does with the ID only in the parent menus.
I'm testing with IE 5.0, and have tried it on 6.0 as well (with same results).</HTML>
Poster: Anonymous
Dated: Tuesday May 21 2002 - 5:43:20 BST
I experience the same problem. The hide div works only the first time you activate it. As soon as the mouse slides to the next item the select box appears. If the second is a submenu, and you go to the first item of the submenu, the select disappears.
Poster: Andy
Dated: Tuesday May 21 2002 - 11:06:08 BST
You need to declare the div in every menu that you need to activate the hide process.
Cheers
Andy
Poster: indra
Dated: Wednesday May 22 2002 - 21:06:59 BST
I do have div declared in every menu. The newer version I just downloaded (3.4.06) fixes the problem.
The problem with the latest version is that when I set the follow scrolling to 1 the menu ignore the values I set for menu top and menu left:
--------------------------------------------------------------------------------
addmenu(menu=[ // This is the array that contains your menu properties and details
"mainmenu", // Menu Name - This is needed in order for the menu to be called
88, // Menu Top - The Top position of the menu in pixels
0, // Menu Left - The Left position of the menu in pixels
106, // Menu Width - Menus width in pixels
1, // Menu Border Width
, // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1, // Properties Array - this is set higher up, as above
1, // Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center", // Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect, // Filter - Text variable for setting transitional effects on menu activation - see above for more info
1, // Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
--------------------------------------------------------------------------------
It always starts from the position where you put your this two lines:
<SCRIPT language=JavaScript src="menu_array.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="mmenu.js" type=text/javascript></SCRIPT>
I think the problem started in version 3.04. That's the reason I am still using 3.3.18. I would like to upgrade to the latest version to solve the div problem.
Please help