11-20-2018, 11:22 PM
Hi,
I want ot add a new item to the navigation bar (using db based navigation), that navigates to a particular page, unless the user is already on that page, in which case it should just run some javascript function.
I guess the link could call a function that parses the page URL and decides based on that - but neiter I'm sure how to do htis, nor do I know if there's a better / more idiomatic solution.
Sorry if this is a dumb beginners question, looks like I am
tia
I want ot add a new item to the navigation bar (using db based navigation), that navigates to a particular page, unless the user is already on that page, in which case it should just run some javascript function.
I guess the link could call a function that parses the page URL and decides based on that - but neiter I'm sure how to do htis, nor do I know if there's a better / more idiomatic solution.
Sorry if this is a dumb beginners question, looks like I am
tia