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:22
I.E 5.0 and frames
Poster: saladpuncher
Dated: Wednesday October 2 2002 - 23:11:07 BST
I'm using frames and people with I.E 5.0 can't see the sub menus. They can see the main menu in the header frame but when they move their cursor over it the sub menu doesn't pop up in the main frame. It works for every other browser we can think of. Any suggestions?
-saladpuncher
Poster: trytrix
Dated: Thursday October 3 2002 - 21:17:52 BST
Hello,
Suggestion,
Did you .. take a look at the example :
http://www.milonic.com/menu/frames/
did you incorporated the "frames_body_array.js" code into every page that will be loaded into your main frame ?
Best regards,
Trytrix
(From de Flanders fields)
frames, iframes and z-order
Poster: saladpuncher
Dated: Thursday October 3 2002 - 21:53:14 BST
I did look at the example. We found the problem last night. The main body consists of an IFrame which, in IE 5.0, is always on top. This prevents us from seeing the menu. I have looked all over this sight and it seems like an unsolveable problem
Re: frames, iframes and z-order
Poster: spg
Dated: Thursday October 3 2002 - 22:17:18 BST
Yup, its an unsolvable - IE5.5 and above is the only way to solve it. What Ive done is this (on IIS because its in ASP)
<%
dim menuname
if (IS_IE55PLUS or IS_NS7PLUS) then
menuname = "/js/menu/menu_array.js"
else
menuname = "/js/menu/menu_array_unsupported.js"
end if
%>
<SCRIPT language="JavaScript1.2" src="<% = menuname %>" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript1.2" src="/js/menu/mmenu.js" type="text/javascript"></SCRIPT>
In the unsupported.js file, is a menu that has no submenus but has links to pages that consist of links to the pages (ie, the menu exists but in html pages).
If you want the ASP script for the browser detection, then email me at spg __at__ phat.co.nz and I'll forward it. It currently detection all versions of IE above 3, Netscape above 4 and Mozilla/Gecko.
saladpuncher wrote:
I did look at the example. We found the problem last night. The main body consists of an IFrame which, in IE 5.0, is always on top. This prevents us from seeing the menu. I have looked all over this sight and it seems like an unsolveable problem