Please,
I want to simulate dropdown select, but there will be just links, no form.
Trouble is how to have selected, and visible category or subcategory link where You are currently?
<ul><li>Category
<ul>
<li>Subcategory1</li>
<li>Subcategory2</li>
</ul>
</li></ul>
So, when you are on the Category, visible will be name of Category and this is easy because its first LI, but when you are on subcategory then the name of the subcategory will be “selected” and visible.
If you have some other solution then list, suggest me.
Sorry for my english i don’t know how to explain better 🙂
If I understand you correctly, it sounds to me like you just need a couple
divelements. One to show the currently-selected item, and the other to show the entire menu (minus the current element?).If that is the case, you can attach a click event to each menu item that will update the text of the top div:
Then you’ll use jQuery to add some effects and logic: