Upvote 3

Add an automatic variable containing active page

Completed Victor Conesa 9 years ago

Currently I can manually add an event on every page to set a variable to my custom name. Then I can read this variable in a Master element, and based on this variable change things, for example mark active nav element.

If I can do it manually, you could auotmaticly add this feature, so that every page on page load sets one variable to it's name.

It would be very useful and seems easy to develop.

(You could also do the same for on click states, to change some invisible boolean variable)

Replies (1)

Plus one to this. Would be very useful for navigation menus and general use of masters.

Leave a Comment
Attach a file