Menu G5 Examples: Alternative to form select list [2]

Please pick a vehicle:  
Please pick a year:  

This is a re-make of the Menu G4 example "Alternative to form select list". With updateItemDisplay(), showPagePath() and resetPagePath(), it's much easier than the Menu G4 version.

As usual we make the content for all the vehicles and years first, then we define the on-path style for the top item on a select list, thus when an item is picked from the list, we call updateItemDisplay() to change the text of the top item and call showPagePath() to change its style, and when the top item is clicked, we call updateItemDisplay() again to restore its default text and call resetPagePath() to restore its normal style.

[Back to index page]

# # #