IFrames causing menus to wrap

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Izgard
Beginner
Beginner
Posts: 6
Joined: Wed Apr 18, 2007 6:08 am

IFrames causing menus to wrap

Post by Izgard »

I have a main html file which contains 2 IFRAMES one on the left being for the menu and the other on the right for the main page.

The menu in the IFRAME displays correctly however when you mouse over a menu item the sub menu instead of overlapping into the right IFRAME it reposition itself inside the left IFRAME.

Any help appreciated.

Thanks.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

You are not going to be able to get a menu in one iframe to go partway in the iframe and partway outside the iframe to show part of it in the right iframe. You can get the Milonic menu to drop over an iframe from the page on which the iframe is coded. But what you seem to be saying would be like trying to get a page that is in a top frame to show part of it in the top and the rest in the bottom frame, that is have part of it pop out of the top frame and put itself into the bottom frame.

What exactly are you trying to do? And, a page with the stuff on it along with a description of what you want to happen would be very helpful otherwise it's just a guessing game on what to do.

Ruth
Izgard
Beginner
Beginner
Posts: 6
Joined: Wed Apr 18, 2007 6:08 am

Post by Izgard »

I am currently maintaining a web application that uses frames, one on the left for a menu and one on the right for the main body. We have an issue with our menu system which is a java applet and was looking at javascript menus instead.

I know u have a frames version, however there doesnt seem much documentation about it (well not that I could find) and the demo doesnt look as impressive as the non Frames version. It also seemed a bit like a backward step and I would rather move forward and do it properly than just do a quick fix.

I think I will just use some absolute positioning with an Iframe for the main body and position the menu on the left. Its not quite that simple a few other things to consider, but I will get there.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Well, the demo is mainly for demonstration of how to set it up from frames. Almost any of the milonic menu samples can be made to function as a frames menu. If that's what you want, we'd be glad to help you with that.

As to absolute positioning, it doesn't matter where the menu is located on the page, the submenus will open over iframes, since with iframes the menu and iframe actually occupy the same 'place' unlike the frames setup.

Ruth
Post Reply