lundi 21 décembre 2015

keep sidemenu expand every reload

i facing some situation on sidemenu want to make the , but anyway the webpage refresh all the time after i click on the sidemenu. i need to make the sidemenu stay on active after click, any solution about this?

try some javascript from internet still remain the same. here is my code:

<div id="sidebar" class="sidebar responsive"   >
               <ul  class="nav nav-list" >
                    <li class="#"  >
                        <a  href="#"  class="dropdown-toggle">
                          <span class="menu-text" >
                           <ul class="submenu" >
                           <li class="active" >   //set it active will remain active all the time
                                <span class="menu-text"  >

above is example from my code, Thank you.

Aucun commentaire:

Enregistrer un commentaire