Not Solved ProPortal navmenu active state?
#1
Not Solved
So I added proportal to the navmenu but I have no clue how I would get the menu to stay highlighted when I'm on portal page.

I went into my header and put the portal in menu
<li><a class="portal" href="{$mybb->settings['bburl']}/portal.php"><img src="images/hhub/toplinks/portal.png" alt="" title="" />Portal</a></li>

Went into the headerinclude and added that but no luck. My other custom made pages were able to stay highlighted this way though.
else if (currentPage.indexOf('Portal') != -1) 
{
        $('.menu li a.portal').addClass('active'); 
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)