Hi Angus. Nice frackin Menus man... enough said. Do you think its possible for a menu root like File for instance to stay highlighted or underlined or just pointed out after a user clicked in some of its internal items? It woul only dim after the user made another selection in the menu though higliting another root member? Tkx.
2) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 203.173.--.--
Posted:
Yes -- in fact, if you pay close attention on the frontpage of this very website, you'll see that as you navigate in, "selected" items are green :).
I do this on the backend with some PHP that compares each link HREF to the requested document address and highlights them if they match. It'd be just as simple to do in JS though!
- Angus.
3) PECastroGroup: Guests IP: 212.0.--.--
Posted:
Ok. I've already noticed. But what is the function call that highlights Parent Menu Item? Tkx.
P.
4) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 203.173.--.--
Posted:
Actually, sorry -- I should have pointed out that I'm using the FreeStyle Menu script, not the Cascading Popup Menu script.
For the CPM script, there's a suggestion in the pop_help.html file as to how to ago about doing this. You might want to adjust it to match your URL naming scheme -- if you're familiar with JavaScript text processing/comparison that should be OK.