• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

high light page in nav bar

#7
Alright your link is some what working. It makes the page in the navbar but isn't highlighting them:

Code:
<?php  class Pages_pages
{
    public static function navtabs(array &$extraTabs, $selectedTabId)
    {
        $extraTabs['info'] = array(
            'title' =>  'Info',
            'href'  =>  'http://mine-empire.com/pages/info/',
            'selected'  =>  ($selectedTabId == 'info'),
            'linksTemplate' =>  'Info_Navtabs'
        );

        $extraTabs['donate'] = array(
            'title' =>  'Donate',
            'href'  =>  'http://mine-empire.com/pages/donate/',
            'selected'  =>  ($selectedTabId == 'donate'),
            'linksTemplate' =>  'Donate_Navtabs'
        );

        $extraTabs['map'] = array(
            'title' =>  'Dynmap',
            'href'  =>  'http://play.mine-empire.com/dynmap/',
            'selected'  =>  ($selectedTabId == 'map'),
            'linksTemplate' =>  'Dynmap_Navtabs'
        );
    }
}