Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 19, 20187 yr so i have a block that is a nav bar that will just display a category like https://invisioncommunity.com/forums/forum/307-community-led-resources/ i am trying to figure out how to make the nav bar sticky so when they click on that button / tab after it redirects to the url the button becomes the active one ?
April 22, 20187 yr The first obvious thing is that the block contains a full HTML page, which shouldn’t be done, unless everything is in an iframe. That needs correction. If you want to stick with this manual coding approach, you could simply read the URL of the page and then add an “active” CSS class for the entry that matches. A cleaner approach would be do redo it as plugin. Then the forums would simple be selected and the active state can be read directly from the forum ID.
Archived
This topic is now archived and is closed to further replies.