Click to See Complete Forum and Search --> : Links


ashers
04-23-2003, 07:21 AM
Hi,
Im making a website that has a menu in a left hand frame. The menu is in plain text, but I need it so that when you click on a link in the menu it changes colour, but when you click another link in that menu that will change colour but the last link will change back to the original colour. This is so that the person can easily see where they are in the site. Whats the best way of doing this.
Hope this makes sense.
Thanks

Vladdy
04-23-2003, 07:47 AM
Do not use frames, then there will be no confusion where on the site one is. :rolleyes:

ashers
04-23-2003, 07:50 AM
Thats not very helpful, there is a reason why I want to use frames.

Vladdy
04-23-2003, 07:51 AM
I'm just trying to save you allot of headaches. Whatever your reason for using frames, it is a wrong one. Whatever you are trying to accomplish with frames can easier be done without them.

ashers
04-23-2003, 07:58 AM
Thats a matter of opinion.

Vladdy
04-23-2003, 08:09 AM
If frames had any use, do you think they would be supported by hew HTML standards :rolleyes: .

ashers
04-23-2003, 08:14 AM
How can I make a left hand menu that doesnt move when you scroll then?

pyro
04-23-2003, 08:34 AM
Use the CSS property position:fixed, and use javascript for IE, which is incompitent when it comes to CSS. Take a look at http://www.infinitypages.com/research/staticmenu.htm for an example.

Vladdy
04-23-2003, 09:15 AM
Here is a page I'm working on now (design close to be done, content coming): http://www.klproductions.com/home.html for your inspiration... (chose Large Size presentation in the bottom right corner and reduce the window size if necessary to get the scrolling)

While position:fixed was introduced for these types of layouts (and it is a shame that IE does not support it), it is possible to achieve the desired effect by nesting absolutely possitioned block elements.