A single js Menu navigation for all pages

Moderators: Calcifer, slothy

A single js Menu navigation for all pages

Postby eleventh » Mon Apr 02, 2007 5:44 pm


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.

Posts: 2
Joined: Mon Apr 02, 2007 3:37 pm

Return to Menu script questions

Who is online

Users browsing this forum: No registered users and 2 guests