How to handle a menu in a frame based...

User 2055135 Photo


Registered User
2 posts

Hi all,
i made a framset website (one top_frame and one bottom_frame) with a header.html file for the top_frame containing a menu build with the CSS Menu Designer. So far, so good. But when the menu opens by moving the mouse over it, the submenus are displayed only until the border of its frame. It is cutted.
Can any one help?
Regards,
Ralf
User 122279 Photo


Senior Advisor
14,649 posts
Online Now

Maybe you could create the menu as a separate file and link it to the main window, not the top one. And decrease the height of the top one accordingly.

BTW, frames are said to be out. If you created the frame set just in order to have the menu in just one place, you could get rid of the top file and make it all into one. When linked, the menu can be changed/updated just in one place anyway.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 562592 Photo


Registered User
2,038 posts

It will always be cut off once you reach the frame line because the frames are like independent pages brought together on one page. I am not a big fan of framesets myself. If you are trying to have strict menu control in one file so that you don't have to change it on every page I would suggest looking into SSI (Server Side Includes). :D
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.

My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).

My Personal Website: http://www.EricSEnglish.com

User 2055135 Photo


Registered User
2 posts

Hi,
thank you both. Ok, no frames, i made first side with a menu works fine.
But now i have up to 20 pages so do i need to copy ai all pages the code of the menu? When i change something it results in chaos.... !
Can i put the menu in a seperate file and link it from all pages? How is this done (syntax)?
Regards,
Ralf
User 38401 Photo


Senior Advisor
10,951 posts

This would be done with SSI (server side includes) There are a few others here that know more about how to do that. A link to your site would be helpful so they can see the structure of how it's setup at the moment and give you better feedback on how to set it up. It has it's cons but mostly pros and I'm still learning it so I'm unable to help at the moment. You can try Googling it and see what you find, there's a lot of info out there on it. :)

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.