i am developing i website using master page this master page doesn’t has any menus but i want to create a javascript menu for one of the content page and this page will navigate to other pages the will have the same menu always appeared there.
i am using c# and asp.net so how to do that and make this menu also fixed among all selected items (and see which one selected by some css) .
i hope that i described well what i need because i am so confused so sorry for that.
You don’t need JS for this. There are many solution for this you just did not used the right keywords. Try search for: horizontal drop down menu css
The first step is to create a nested ul-li-ul-li structure:
Then apply a few CSS rules.
Further code: http://www.cssnewbie.com/horizontal-dropdown-menus/
Other solution: http://matthewjamestaylor.com/blog/centered-dropdown-menus