Difference between revisions of "Template:SZU-China/Nav"

Line 8: Line 8:
 
     <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/CSS/Fluent&action=raw&ctype=text/css" />
 
     <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/CSS/Fluent&action=raw&ctype=text/css" />
  
<link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/CSS/FontAwesome&action=raw&ctype=text/css" />
+
    <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/CSS/FontAwesome&action=raw&ctype=text/css" />
  
<link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/CSS/Custom&action=raw&ctype=text/css" />
+
    <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:SZU-China/CSS/Custom&action=raw&ctype=text/css" />
  
  
Line 99: Line 99:
 
         <div class="collapse navbar-collapse" id="navbarExample">
 
         <div class="collapse navbar-collapse" id="navbarExample">
 
             <ul class="navbar-nav ml-auto">
 
             <ul class="navbar-nav ml-auto">
 +
                <li class="nav-item dropdown">
 +
                    <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
 +
                        aria-haspopup="true" aria-expanded="false">
 +
                        Awards
 +
                    </a>
 +
                    <div class="dropdown-menu" aria-labelledby="navbarDropdown">
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Achievement">Achievement</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Applied_Design">Applied
 +
                            Design</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Human_Practices">Human
 +
                            Practices</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Public_Engagement">Public
 +
                            Engagement</a>
 +
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Model">Applied Design</a>
 +
 +
                    </div>
 +
                </li>
  
 
                 <li class="nav-item dropdown">
 
                 <li class="nav-item dropdown">
Line 167: Line 184:
 
                             ">Applet</a>
 
                             ">Applet</a>
 
                 </li>
 
                 </li>
                <li class="nav-item dropdown">
 
                    <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown"
 
                        aria-haspopup="true" aria-expanded="false">
 
                        Awards
 
                    </a>
 
                    <div class="dropdown-menu" aria-labelledby="navbarDropdown">
 
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Achievement">Achievement</a>
 
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Applied_Design">Applied Design</a>
 
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Human_Practices">Human Practices</a>
 
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Public_Engagement">Public Engagement</a>
 
                        <a class="dropdown-item" href="https://2018.igem.org/Team:SZU-China/Model">Applied Design</a>
 
  
                    </div>
 
                </li>
 
 
             </ul>
 
             </ul>
  
Line 188: Line 192:
  
  
              //$('.dropdown').hover(function () {
+
                //$('.dropdown').hover(function () {
 
                 //    $('.dropdown-toggle', this).trigger('click');
 
                 //    $('.dropdown-toggle', this).trigger('click');
              // });
+
                // });
  
 
                 // Add slideDown animation to Bootstrap dropdown when expanding.
 
                 // Add slideDown animation to Bootstrap dropdown when expanding.

Revision as of 14:24, 9 October 2018