DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   JavaScript / DHTML / AJAX (http://www.daniweb.com/forums/forum117.html)
-   -   In need of Menu over Frames (http://www.daniweb.com/forums/thread19825.html)

belama Mar 8th, 2005 3:25 pm
In need of Menu over Frames
 
Does anyone know a site where I could find a javascript horizontal menu with menu items able to appear over frames?

TIA

Mat

tgreer Mar 10th, 2005 11:03 am
Re: In need of Menu over Frames
 
Since you asked for a "site", I suggest doing a web search for "suckerfish dropdowns".

belama Mar 10th, 2005 12:01 pm
Re: In need of Menu over Frames
 
I just tried an example of suckerfish and the menus dont appear over frames at all.

tgreer Mar 10th, 2005 12:08 pm
Re: In need of Menu over Frames
 
Are these frames or iframes? Does it matter? Code up a page/frameset for me to look at, and I'll see what I can do.

belama Mar 10th, 2005 12:30 pm
Re: In need of Menu over Frames
 
1 Attachment(s)
they are frames

I've attached an example so you can see...

the dropdown in the top frame goes under the bottom frame when the cursor hovers over the menu

tgreer Mar 10th, 2005 12:55 pm
Re: In need of Menu over Frames
 
I see, the frame holding the menu is too small. No, you can't change this behavior, because the menu content is part of the frame's document.

If I found myself with this problem, I would find a way to do away with frames. For example, I would explore using <div> tags to segment the content sections.

If you control the content of both frames, you can do something a bit clever: have the rollover elelemnts in the top frame, but have the menu's themselves in the bottom frame. The rollover code can access elements in the second frame, so that's not a problem.

belama Mar 10th, 2005 1:19 pm
Re: In need of Menu over Frames
 
The frames of the application must stay.
I cannot make parts of the menu appear in the other frame either for the reason that on my actual page there are 3 columns under the space where the menu is and there is something right under the menu in the same frame. There would be a gap between the menu and the dropdowns.

tgreer Mar 10th, 2005 1:44 pm
Re: In need of Menu over Frames
 
You're fighting the very nature of "frames". They are meant to frame content. You're trying to make content break outside of the frame. You can't do that.

The only thing I can think of as a work-around is to use small, popup windows for your menus.

belama Mar 10th, 2005 1:52 pm
Re: In need of Menu over Frames
 
If I could do what I want, I would probably not work with frames at all or find something else to do. Unfortunately it's not my application. If I find anything i'll post it here.

thx for trying to help

belama Mar 10th, 2005 2:08 pm
Re: In need of Menu over Frames
 
I think I will stop looking for a solution cuz it seems like there are no workaround apart from the pop ups you said, but I don't think I'll do that.


All times are GMT -4. The time now is 10:23 pm.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC