Forum Moderators: not2easy
Do I have to make this with frames? Or is there an easy way to make this with CSS/HTML?
Here is an example site: [xs4all.nl...]
You are correct. What you describe -- having static menu and only have the content portion reload when a link is clicked -- can only be handled using frames.
The one problem is that it doesn't actually do what you said (not reload certain content), so it really might not be a good option.
It will still re-load the nav menu (or whatever it is you are including) every time. Thing is, it would be cached anyway, so it should be pretty quick. The part where it becomes an issue is if you had some sort of time-sensitive object running, such as background you didn't want to restart every time you change pages, or had a javascript timer for something, etc.
But like I mentioned, using framesets (or an iframe as your main content) can be really really bad. Search engines can't deal with them as well, users can't navigate through them easily, And stuff like bookmarks or link transferring can be difficult.
Is there tutorials on frames and IFRAMES? (I never heard of that before) I have always heard that frames are bad, but I've seen thousands of sites with the static menu in them.
I don't think the CSS DIV hiding will work since I will have about 5 main links and 25ish submenu links (i am creating a portfolio site).
Thanks again for the help, it's pointing me in the right direction