Hello, I am having problems with MbMenu - when the Home or the second item is clicked, both highlight. When the other two menu items are clicked neither highlight. Here is my fairly standard menu code:
<div id="mainMbMenu">
<?php $this->widget('application.extensions.mbmenu.MbMenu',array(
'items'=>array(
array('label'=>'Home', 'url'=>array('/site/index')),
array('label'=>'Elements', 'url'=>array('/site/index'),
'items'=>array(
array('label'=>'Participants', 'url'=>array('/participant')),
array('label'=>'Providers', 'url'=>array('/provider')),
array('label'=>'Agencies', 'url'=>array('/agency')),
array('label'=>'Facilities', 'url'=>array('/facility')),
),
),
array('url'=>Yii::app()->getModule('user')->loginUrl, 'label'=>Yii::app()->getModule('user')->t("Login"), 'visible'=>Yii::app()->user->isGuest),
array('url'=>Yii::app()->getModule('user')->registrationUrl, 'label'=>Yii::app()->getModule('user')->t("Register"), 'visible'=>Yii::app()->user->isGuest),
array('url'=>Yii::app()->getModule('user')->profileUrl, 'label'=>Yii::app()->getModule('user')->t("Profile"), 'visible'=>!Yii::app()->user->isGuest),
array('url'=>Yii::app()->getModule('user')->logoutUrl, 'label'=>Yii::app()->getModule('user')->t("Logout").' ('.Yii::app()->user->name.')', 'visible'=>!Yii::app()->user->isGuest),
),
)); ?>
In the first case (when I click on either element 1 or 2), the first two elements are <li class="active"> in the html output. In the second error (when I click on element 3 or 4), no class is set active.
Does anyone know where to start?