Page 1 of 1

A single js Menu navigation for all pages

PostPosted: Mon Apr 02, 2007 5:44 pm
by eleventh
Hi,

I need a single js menu where all my items and link are coded in it. Then this js will be called in different html pages in different levels into the directories. My question is: how can I make this possible? I know I could declare a prefix variable and add it to every href link. So when its production, I just changed the variable. But is there any other way out?

Also, how can I have my specified item highlighted on specific page without declaring a class and calling a new class for each link in the navigation?

Hope i am making sense to all.

ANy help will be appreciated.

-11th