Nested Frames

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
rmv35
Beginner
Beginner
Posts: 2
Joined: Tue May 06, 2003 1:50 pm

Nested Frames

Post by rmv35 »

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.
rmv35
Beginner
Beginner
Posts: 2
Joined: Tue May 06, 2003 1:50 pm

My pages

Post by rmv35 »

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"?
trytousemenuinframe
Beginner
Beginner
Posts: 6
Joined: Wed May 14, 2003 9:34 pm

Use menu in frame

Post by trytousemenuinframe »

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. :?:
Post Reply