(Blanked the page) |
|||
Line 1: | Line 1: | ||
+ | <html> | ||
+ | <head> | ||
+ | <!-- Bootstrap CSS --> | ||
+ | <link rel="stylesheet" type="text/css" href="https://2018.igem.org/Team:USTC/BScss?action=raw&ctype=text/css"> | ||
+ | <!-- Scrollbal Custom CSS --> | ||
+ | <link rel="stylesheet" type="text/css" href="https://2018.igem.org/Team:USTC/customScrollbarCSS?action=raw&ctype=text/css"> | ||
+ | <!-- Font Awsome JS --> | ||
+ | <script type="text/javascript" src="https://2018.igem.org/Team:USTC/fontawsome?action=raw&ctype=text/javascript"></script> | ||
+ | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
+ | </head> | ||
+ | |||
+ | |||
+ | |||
+ | <body data-spy="scroll" data-target="#navId" data-offset="50"> | ||
+ | <div class="wrapper"> | ||
+ | <!-- Sidebar --> | ||
+ | <nav id="sidebar"> | ||
+ | <div id="dismiss"> | ||
+ | <i class="fas fa-arrow-left"></i> | ||
+ | </div> | ||
+ | |||
+ | <div class="navbar-brand"> | ||
+ | <img src="logo.png" width="250px" height="250px" /> | ||
+ | </div> | ||
+ | <ul class="list-unstyled components"> | ||
+ | <li class="active"> | ||
+ | <a href="#">Home</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#projectSubmenu" data-toggle="collapse" aria-expanded="false">PROJECTS <i class="fa fa-caret-down"></i></a> | ||
+ | <ul class="collapse list-unstyled" id="projectSubmenu"> | ||
+ | <li> | ||
+ | <a href="#">Home 1</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Home 2</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Home 3</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#notebookSubmenu" data-toggle="collapse" aria-expanded="false">NOTEBOOK</a> | ||
+ | <ul class="collapse list-unstyled" id="notebookSubmenu"> | ||
+ | <li> | ||
+ | <a href="#">Home 1</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Home 2</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Home 3</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#partsSubmenu" data-toggle="collapse" aria-expanded="false">PARTS</a> | ||
+ | <ul class="collapse list-unstyled" id="partsSubmenu"> | ||
+ | <li> | ||
+ | <a href="#">Home 1</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Home 2</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Home 3</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">About</a> | ||
+ | <a href="#pageSubmenu" data-toggle="collapse" aria-expanded="false">Pages</a> | ||
+ | <ul class="collapse list-unstyled" id="pageSubmenu"> | ||
+ | <li> | ||
+ | <a href="#">Page 1</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Page 2</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Page 3</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Portfolio</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Contact</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </nav> | ||
+ | |||
+ | <!-- Page Content --> | ||
+ | <div id="content"> | ||
+ | |||
+ | <nav class="navbar navbar-expand-lg navbar-light bg-light shadow-lg sticky-top" id="navId"> | ||
+ | <div class="container-fluid"> | ||
+ | |||
+ | <button type="button" id="sidebarCollapse" class="btn btn-info"> | ||
+ | <i class="fas fa-align-left"></i> | ||
+ | <span>Navigation</span> | ||
+ | </button> | ||
+ | <b style="margin-left:50px;font-size:25px;font-family:'Agency FB Regular'">Make<span style="background-color:aqua;font-size:1.5em;color:white;background-color:steelblue;border-radius: 3px;padding:0 2px;margin:0 4px;font-style:italic;"> | ||
+ | TW | ||
+ | </span>Beneficial</b> | ||
+ | <div class="collapse navbar-collapse" id="navbarSupportedContent"> | ||
+ | <ul class="nav navbar-nav ml-auto"> | ||
+ | <li class="nav-item"> | ||
+ | <a class="nav-link" href="#section1">Page</a> | ||
+ | </li> | ||
+ | <li class="nav-item"> | ||
+ | <a class="nav-link" href="#section2">Page</a> | ||
+ | </li> | ||
+ | <li class="nav-item"> | ||
+ | <a class="nav-link" href="#section3">Page</a> | ||
+ | </li> | ||
+ | <li class="nav-item"> | ||
+ | <a class="nav-link" href="#section4">Page</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | <button class="btn btn-dark d-inline-block d-lg-none ml-auto" type="button" data-toggle="collapse" | ||
+ | data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" | ||
+ | aria-label="Toggle navigation"> | ||
+ | <i class="fas fa-align-justify"></i> | ||
+ | </button> | ||
+ | </div> | ||
+ | </nav> | ||
+ | |||
+ | <div id="section1"> | ||
+ | <h2>Collapsible Sidebar Using Bootstrap 4</h2> | ||
+ | <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore | ||
+ | et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut | ||
+ | aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse | ||
+ | cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in | ||
+ | culpa qui officia deserunt mollit anim id est laborum.</p> | ||
+ | <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore | ||
+ | et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut | ||
+ | aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse | ||
+ | cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in | ||
+ | culpa qui officia deserunt mollit anim id est laborum.</p> | ||
+ | </div> | ||
+ | |||
+ | <div class="line"></div> | ||
+ | <div id="section2"> | ||
+ | |||
+ | <h2>Lorem Ipsum Dolor</h2> | ||
+ | <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore | ||
+ | et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut | ||
+ | aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse | ||
+ | cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in | ||
+ | culpa qui officia deserunt mollit anim id est laborum.</p> | ||
+ | </div> | ||
+ | |||
+ | <div class="line"></div> | ||
+ | |||
+ | <h2>Lorem Ipsum Dolor</h2> | ||
+ | <p id="section3">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt | ||
+ | ut labore et | ||
+ | dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip | ||
+ | ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore | ||
+ | eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia | ||
+ | deserunt mollit anim id est laborum.</p> | ||
+ | |||
+ | <div class="line"></div> | ||
+ | |||
+ | <h3>Lorem Ipsum Dolor</h3> | ||
+ | <p id="section4">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt | ||
+ | ut labore et | ||
+ | dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip | ||
+ | ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore | ||
+ | eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia | ||
+ | deserunt mollit anim id est laborum.</p> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | <!-- jQuery | ||
+ | <script type="text/javascript" src="https://2018.igem.org/Team:USTC/jquery?action=raw&ctype=text/javascript"></script> | ||
+ | --> | ||
+ | |||
+ | <!-- Popper.JS --> | ||
+ | <script type="text/javascript" src="https://2018.igem.org/Team:USTC/Popperjs?action=raw&ctype=text/javascript"></script> | ||
+ | <!-- Bootstrap JS --> | ||
+ | <script type="text/javascript" src="https://2018.igem.org/Team:USTC/BSjs?action=raw&ctype=text/javascript"></script> | ||
+ | <!-- jQuery Custom Scroller --> | ||
+ | <script type="text/javascript" src="https://2018.igem.org/Team:USTC/customScrollbarJS?action=raw&ctype=text/javascript"></script> | ||
+ | |||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function () { | ||
+ | $("#sidebar").mCustomScrollbar({ | ||
+ | theme: "minimal" | ||
+ | }); | ||
+ | |||
+ | $('#dismiss, .overlay').on('click', function () { | ||
+ | $('#sidebar').removeClass('active'); | ||
+ | $('.overlay').removeClass('active'); | ||
+ | }); | ||
+ | |||
+ | $('#sidebarCollapse').on('click', function () { | ||
+ | $('#sidebar').addClass('active'); | ||
+ | $('.overlay').addClass('active'); | ||
+ | $('.collapse.in').toggleClass('in'); | ||
+ | $('a[aria-expanded=true]').attr('aria-expanded', 'false'); | ||
+ | }); | ||
+ | }); | ||
+ | $("#top_title").hide(); | ||
+ | </script> | ||
+ | </body> | ||
+ | </html> |
Revision as of 12:20, 14 October 2018
Collapsible Sidebar Using Bootstrap 4
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem Ipsum Dolor
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem Ipsum Dolor
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem Ipsum Dolor
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.