#1 April 28, 2016 9:14am

userbot
Member
Registered: April 22, 2016
Posts: 31

Activation menu "active" in the transition to it

Could not write the code to the allocation page includes "uk-active" mode

<nav class="uk-navbar">
        <a class="uk-navbar-brand" href="<?=WWW_ROOT?>"><?=$home_page["nav_title"]?></a>
   
        <ul class="uk-navbar-nav">
        <? foreach ($main_nav as $navItem) {$active = (strpos($current_url,$navItem["link"]) !== false);?>
            <li<? if ($active) { ?> class="uk-active"<? } ?>><a href="<?=$navItem["link"]?>"><?=$navItem["title"]?></a></li>
        <? } ?>
        </ul>
    </nav>

Offline

#2 April 28, 2016 9:54am

userbot
Member
Registered: April 22, 2016
Posts: 31

Re: Activation menu "active" in the transition to it

After updating to 4.2.10 all the problems are over! Super!

Last edited by userbot (April 28, 2016 10:45am)

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.