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: Saturday July 14 2012 - 06:07:32
Menus Split Across Frames with Milonic??
Poster: Bryan
Dated: Monday April 21 2003 - 20:23:37 BST
I'd like to use the menus for my site, but am not sure if Milonic menus can split across frames. I tried modifying the demo frame page to test this as can be seen here (look at the "languages" menu item):
http://www.recognizer.com/menutest/
Anyone have any insight on this? Thanks.
Poster: kevin3442
Dated: Saturday April 26 2003 - 8:12:26 BST
Bryan,
The menu can be used in a framed site, as you have on your test page. the problem you're having is that you moved the horizontal menu over to the left and removed the left vertical menu in the example. But the "side" frame is still there, so it is clipping the menu's that appear in the main frame. You should remove the side frame from the frameset, since it is no longer being used. If you want to keep the side frame, you'll have to move the main horizontal menu (in the header frame) over to the right, so that the first menu item clears the side frame; you'll also have to adjust the position where the submenus open in the main frame.
Hope that helps,
Kevin
Poster: trytousemenuinframe
Dated: Wednesday May 14 2003 - 22:09:14 BST
kevin3442 wrote:
Bryan,
The menu can be used in a framed site, as you have on your test page. the problem you're having is that you moved the horizontal menu over to the left and removed the left vertical menu in the example. But the "side" frame is still there, so it is clipping the menu's that appear in the main frame. You should remove the side frame from the frameset, since it is no longer being used. If you want to keep the side frame, you'll have to move the main horizontal menu (in the header frame) over to the right, so that the first menu item clears the side frame; you'll also have to adjust the position where the submenus open in the main frame.
Hope that helps,
Kevin
The menu can be used in a framed site, as you have on your test page. the problem you're having is that you moved the horizontal menu over to the left and removed the left vertical menu in the example. But the "side" frame is still there, so it is clipping the menu's that appear in the main frame. You should remove the side frame from the frameset, since it is no longer being used. If you want to keep the side frame, you'll have to move the main horizontal menu (in the header frame) over to the right, so that the first menu item clears the side frame; you'll also have to adjust the position where the submenus open in the main frame.
Hope that helps,
Kevin
Yes it will only work for simple frameset situation.
If change index.htm in http://www.milonic.co.uk/menu/frames/frames.zip
to <html><head><title>Frames Test</title></head>
<frameset rows="26,*" >
<frame name="menuframe" scrolling="no" target="main" src="frames_header.htm">
<frame name="main" src="bottom.htm" >
<noframes>
<p>This page uses frames, but your browser doesn't support them.</p>
</noframes> </frameset></html>
and add bottom.html as
html><head><title>Frames Test</title></head>
<frameset cols="50,*" >
<frame name="left" scrolling="no" target="main" src="frames_side.htm">
<frame name="main" src="frames_body.htm" >
<noframes>
<p>This page uses frames, but your browser doesn't support them.</p>
</noframes> </frameset></html>
The milonic menu won't wok any more.
No matter how you change "sourceframe" in frames_side_array.js and frames_header_array.js the top menu won't work at all.
Probably, it's the limitation that Milonic implementation that it won't work in complex frame situation. It will only work in the primitive frame situation.
Is there a solution?
Thanks in advance.