I want to create a site with a header, a vertical drop down menu to the left, and some content. When clicking on a link in the menu, I can't refresh the entire page. This would reset the status of the drop down menu. So I will have to do one of the following: 1) Have to use some modern alternative to frames. 2) Let each page have its own static menu. Any ideas?
I use a Javascript menu from www.burmees.nl/menu which has worked well. Very easy to include. If you just want a single line menu without dropdowns, it's easier to do it in CSS.
Looks like it is frame based. This might be a solution ... no, I just wont do frames ... unless I have to. What I want to is to create a drop down menu, which drops down: (not out to the right, but down) Sorta like this: Stuff Books - Momo - The Neverending Story - The Night of Wishes Movies Cars The problem is how I should keep the menu in its current status, after I have clicked the link.
You're probably not going to like this, but you're most likely going to have to create the entire site as a single page, then hide everything but the current menu item's "contents" via JavaScript. I'm not at home, otherwise I'd post an example of what I mean.
I'd go with option 2, BUT, generate that menu server side in a SSI or CGI like php or ASP. Another approach would be to set a cookie in .js when the menu item is clicked that server side could figure out what the 'starting state' of the page would be.
Dan Schulz: You're right, that might actually work .. But I don't want a vertical drop down menu *that* much! deathshadow: Really good idea. I think I go for PHP. Is is possible to detect the filename of the current page with PHP, or do I have to do something like $thepage = "we are at the link page"; to tell the menu what page we are at?
Ah, I see what you're after now. Sorry, I just happened to misunderstand what you were after. Thankfully you have far more options available than I previously thought (given my "understanding" of the question at the time).