Show Item or Group on Appear (Automatic Method)

(Note: this is the "Automatic" method example for the following AllWebMenus property: "Show Item or Group on Appear")


By checking the "Automatic" option on this property, any item whose <Link> property matches the URL of the loaded page will show as selected (highlighted).


In this example, the "Home" item has the following value on its <Link> property:

    show_item_group_on_appear.html


Check the URL above on your web browser:

    http://www.likno.com/examples/show_item_group_on_appear.html


The <Link> property of the "Home" item (with the "Site_Root" folder also being added, etc.) matches the current URL, therefore this item shows as selected.

If more than one menu item links to the same page (URL) then all matching items will be highlighted.


NOTE: PLEASE READ THE RELATED ALLWEBMENUS HELP TOPIC FOR MORE INFO AND SCREENSHOTS!



Download this AllWebMenus project file.