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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:31

Nested Frames


Poster: rmv35
Dated: Tuesday May 6 2003 - 13:58:32 BST

Hi.
I have a problems with my site. The layout of my site is simple: one horizontal frame in top (target=top) and the main frame (target=main). I have no problem to add the menu script except with the pages with frames inside too. How can i put the menus? I think that the more logical way is include the menu script in the frameset page (the one that load in the target=main) but it's not working. Have i to load the script in the internal frames? Any ideas? Are there any solution?

Thanks in advance.

My pages


Poster: rmv35
Dated: Tuesday May 6 2003 - 16:57:24 BST

Examples Page:

Main Frameset:
<html>
<frameset ROWS="20%,85%">
<frame src="top.jsp" name="top">
<frame src="main.jsp" name="main" >
</frameset >
</html>

Top.jsp:
<html>
<body>
<script language=JavaScript src="frames_header_array.js" type=text/javascript></script>
<SCRIPT language=JavaScript src="mmenu.js" type=text/javascript></SCRIPT>
</body>
</html>

Main.jsp: (All menus OK)
<html>
<body>
<script language=JavaScript src="frames_body_array.js" type=text/javascript></script>
<SCRIPT language=JavaScript src="mmenu.js" type=text/javascript></SCRIPT>
INITIAL PAGE
</body>
</html>

FrameSet JSP Page in frame="main":
<html>
<frameset COLS=22%,*>
<frame src="left.jsp" name="left">
<frame src="rigth.jsp" name="rigth" >
</frameset >
</html>

I try to put the menu script in this last page (the main frameset page)
becouse the sourceframe of the menus link to the frame="main"
but it's not running. Are there any trick to scroll the menus in the sub-frame "rigth"?

Use menu in frame


Poster: trytousemenuinframe
Dated: Wednesday May 14 2003 - 21:48:35 BST

I had the same problem.

Instead of using the frame sample on
http://www.milonic.co.uk/menu/frames

I changed the index.htm of sample 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><body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body> </noframes> </frameset></html>

And create bottom.htm 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><body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body> </noframes> </frameset></html>

The menu won't wok any more.
Could anyone help me out this please?
Or can Milonic menu work this way?

Thank you in advance!
BTW: I searched the whole forum, someone already posted similar question, but no one ever answer. :?: