View Full Version : reparenting menu

06-11-2004, 10:00 PM
I have menu code which is displayed inside an iframe.
My problem is that when the iframe is sized small, my menu clips. I tried to get around it by making the menu resize and be scrollable, but the customer doesn't like this. I'd like to programatically reparent my menu into the parent of my frame. Does this sound like it might work or is it too goofy?

The reason why I don't put the menu HTML directly into the parent is that my web appl doesn't have control of the parent. My web appl is invoked from another web appl which puts me in an iframe (Think portals with iframes as portlets). I figure that I should be able to create a document fragment in the parent frame and display my menu that way. How does that sound?????