this code working perfict on any browser but not working on the mobile i cant uncollase when i lode the site on mobile
<nav class="navbar">
Brand and toggle get grouped for better mobile display
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" >
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="sr-only"><?php echo __('Toggle navigation')?></span>
</div>
Collect the nav links, forms, and other content for toggling
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1" >
<ul class="nav navbar-nav navbar1 dropdown">
secand dropdown toggle
<li><a class="dropdown-toggle custom-toggle" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<span class="glyphicon glyphicon-align-justify"></span>
<span class="caret"></span><?php echo __('All categories')?></a>
<ul class="dropdown-menu customdropdown" aria-labelledby="dropdownMenu1">
<div class="clearfix"></div>
<!-- Loan menu-->
<li class="menu-item dropdown dropdown-submenu loan">
<a href="javascript:void(0);" class="dropdown-toggle">Loan</a>
<ul class="dropdown-menu">
<li class="menu-item ac6"><a href="<?php echo $this->html->url(array('controller'=>'loans','action'=>'homeLoan'));?>"><?php echo __('Home Loans')?></a></li>
<li class="menu-item ac8"><a href="<?php echo $this->html->url(array('controller'=>'loans','action'=>'personalLoan'));?>"><?php echo __('Personal Loans')?></a></li>
<li class="menu-item ac7"><a href="<?php echo $this->html->url(array('controller'=>'loans','action'=>'carLoan'));?>"><?php echo __('Car Loans')?></a></li>
</ul>
</li>
<!-- Accounts-->
<li class="Account menu-item dropdown dropdown-submenu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo __('Accounts')?></a>
<ul class="dropdown-menu">
<li class="menu-item ac1"><a href="<?php echo $this->html->url(array('controller'=>'accounts','action'=>'savingAccount'));?>"><?php echo __('Saving accounts')?></a></li>
<li class="menu-item ac2"><a href="<?php echo $this->html->url(array('controller'=>'accounts','action'=>'currentAccount'));?>"><?php echo __('Current accounts')?></a></li>
<li class="menu-item ac3"><a href="<?php echo $this->html->url(array('controller'=>'accounts','action'=>'fixedAccount'));?>"><?php echo __('Fixed deposits accounts')?></a></li>
<li class="menu-item ac4"><a href="<?php echo $this->html->url(array('controller'=>'accounts','action'=>'childrenAccount'));?>"><?php echo __('Children accounts')?></a></li>
</ul>
</li>
<li class="Credit"><a href="<?php echo $this->html->url(array('controller'=>'credits','action'=>'index'));?>"><?php echo __('Credit Cards')?></a></li>
<!-- Insurance -->
<li class="Insurance menu-item dropdown dropdown-submenu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo __('Insurance')?></a>
<ul class="dropdown-menu">
<li class="menu-item ac9"><a href="<?php echo $this->html->url(array('controller'=>'insurances','action'=>'healthInsurance'));?>"><?php echo __('Health Insurance')?></a></li>
<li class="menu-item ac5"><a href="<?php echo $this->html->url(array('controller'=>'insurances','action'=>'carInsurance'));?>"><?php echo __('Car Insurance')?></a></li>
</ul>
</li>
<li class="Saving"<?php if($this->params['controller'] == 'savings' && $this->params['action'] == 'savingPlan'){ echo "active";};?>"><a href="<?php echo $this->html->url(array('controller'=>'savings','action'=>'savingPlan'));?>"><?php echo __('Saving plans')?></a></li>
</ul>
</li>
</ul>
Aucun commentaire:
Enregistrer un commentaire