Bootstrap menu how to click another menu, the open menu automatically folds

< li class= "dropdown" >

             <a class="nav-header collapsed" data-toggle="collapse" href="-sharpsystemSetting">
                 <span class="pull-right glyphicon glyphicon-chevron-down"></span>
             </a>
             <!--<ul class="dropdown-menu">-->
                 <ul id="systemSetting" class="nav nav-list collapse secondmenu">
                 <li>
                     <a href="nav1.html" target="mainFrame"></a>
                 </li>
                 <li>
                     <a href="nav2.html" target="mainFrame"></a>
                 </li>
                 <li>
                     <a href="nav3.html" target="mainFrame"></a>
                 </li>
             </ul>
         </li>
         <li role="presentation">
             <a class="nav-header collapsed" data-toggle="collapse" target="mainFrame" href="-sharptalk"></a>
             <ul id="talk" class="nav nav-list collapse secondmenu">
                 <li>
                     <a href="nav1.html" target="mainFrame"></a>
                 </li>
             </ul>
         </li>
         
   

clipboard.png

  
Mar.16,2021

take a closer look at the section of the document collapse .

<div id="accordion">
  <div class="card">
    <div class="card-header" id="headingOne">
      <h5 class="mb-0">
        <button class="btn btn-link" data-toggle="collapse" data-target="-sharpcollapseOne" aria-expanded="true" aria-controls="collapseOne">
          Collapsible Group Item -sharp1
        </button>
      </h5>
    </div>

    <div id="collapseOne" class="collapse show" aria-labelledby="headingOne" data-parent="-sharpaccordion">
      <div class="card-body">
        Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
      </div>
    </div>
  </div>
  <div class="card">
    <div class="card-header" id="headingTwo">
      <h5 class="mb-0">
        <button class="btn btn-link collapsed" data-toggle="collapse" data-target="-sharpcollapseTwo" aria-expanded="false" aria-controls="collapseTwo">
          Collapsible Group Item -sharp2
        </button>
      </h5>
    </div>
    <div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="-sharpaccordion">
      <div class="card-body">
        Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
      </div>
    </div>
  </div>
  <div class="card">
    <div class="card-header" id="headingThree">
      <h5 class="mb-0">
        <button class="btn btn-link collapsed" data-toggle="collapse" data-target="-sharpcollapseThree" aria-expanded="false" aria-controls="collapseThree">
          Collapsible Group Item -sharp3
        </button>
      </h5>
    </div>
    <div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="-sharpaccordion">
      <div class="card-body">
        Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
      </div>
    </div>
  </div>
</div>
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b408cd-2c527.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b408cd-2c527.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?