Hey all hope someone can help me. Ive done it before or somoene i know has done this but i cant remember how they did it.

I want the menu image to stay in the down position when you have selected a page. Same as here on DaniWeb. The Web Development link stays purple when i am on this page.

How is this done? I have .jpg for my links on the site i am working on. Please help, i have googled but cant seem to find any reference to it :rolleyes:

you can't do it automatically. (well, you can't do it automatically without instructing your server [or some javascript] how to do it automatically)

if your pages are all static, and there is strictly one category for each page, then you'll have to make each page with a slightly different link bar, reflecting the current category.

obviously, thats not a very manageable solution. a better way would be to order your pages with each folder being a category, store a category link bar in each folder. then you just have to include the current folder's link bar on every page using a relative include.

you could do that in PHP or good old Server-Parsed HTML.

this forum does it by always outputting final pages that are server-generated. adding that link bar is easy with a complex system in place already.

Hey thx for the help man, i could follow you up until about here...after that i am lost

"obviously, thats not a very manageable solution. a better way would be to order your pages with each folder being a category, store a category link bar in each folder. then you just have to include the current folder's link bar on every page using a relative include.
"

Your explanation sounded cool though! But i am a noob at coding.

here is the website link
http://www.salvage-sa.co.za/test/indexX.html

as you can see i only need the home image or case studies image etc. to stay in the down position when you are browsing that page.

Is there any way you can explain it easier pls, or give me a link to somewhere it is explained.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.