Login / Join
Materializecss SideNav Example
submitted on 19/05/2015 by
Codicode
+ infos
Config
Embed
Share
Materializecss SideNav Example
by
Codicode
Materializecss SideNav Example
Framework 1 :
-- None --
jQuery 2.0.3
jQuery 1.9.1
jQuery 1.9.0
jQuery 1.8.0
jQuery 1.7.1
jQuery 1.6.3
jQuery UI 1.10.3
MooTools 1.4.5
AngularJS 1.0.4
Prototype 1.7.1.0
Dojo 1.8.3
Chrome Frame 1.0.3
Ext Core 3.1.0
SWFObject 2.2
WebFont Loader 1.1.2
Framework 2 :
-- None --
jQuery 2.0.3
jQuery 1.9.1
jQuery 1.9.0
jQuery 1.8.0
jQuery 1.7.1
jQuery 1.6.3
jQuery UI 1.10.3
MooTools 1.4.5
AngularJS 1.0.4
Prototype 1.7.1.0
Dojo 1.8.3
Chrome Frame 1.0.3
Ext Core 3.1.0
SWFObject 2.2
WebFont Loader 1.1.2
+ Js file(s) :
//cdnjs.cloudflare.com/ajax/libs/materialize/0.96.1/js/materialize.min.js
+ Css file(s) :
//cdnjs.cloudflare.com/ajax/libs/materialize/0.96.1/css/materialize.min.css
Apply
Link :
Direct http link :
Fork button :
Html code :
Embed preview :
Copy the following html code to your page to embed the preview,
To include many previews on a single page, just repeat the first line.
You can change the width, height and border color (bcolor).
<div class="refork-widget" code="4d0" style="width:100%;height:200px;" bcolor="#ccc"></div>
<script type="text/javascript" src="//snippet.run/d/z.js"></script>
HTML
<nav> <!-- === SideBar === --> <ul id="slide-out" class="side-nav"> <li><a href="#!">First Sidebar Link</a></li> <li><a href="#!">Second Sidebar Link</a></li> <li class="no-padding"> <ul class="collapsible collapsible-accordion"> <li> <a class="collapsible-header">More Options<i class="mdi-navigation-arrow-drop-down"></i></a> <div class="collapsible-body"> <ul> <li><a href="#!">First option</a></li> <li><a href="#!">Second option</a></li> <li><a href="#!">Third option</a></li> <li><a href="#!">Fourth option</a></li> </ul> </div> </li> </ul> </li> </ul> <!-- === NavBar === --> <ul class="left hide-on-med-and-down"> <li><a href="#!">First Sidebar Link</a></li> <li><a href="#!">Second Sidebar Link</a></li> <li><a class="dropdown-button" href="#!" data-activates="d1">More Options<i class="mdi-navigation-arrow-drop-down right"></i></a> <ul id='d1' class='dropdown-content'> <li><a href="#!">First option</a></li> <li><a href="#!">Second option</a></li> <li><a href="#!">Third option</a></li> <li><a href="#!">Fourth option</a></li> </ul> </li> </ul> <!-- === NavBar Fixed Right Side === --> <ul class="right"> <li><a class="dropdown-button" href="#!" data-activates="d2">My Account<i class="mdi-navigation-arrow-drop-down right"></i></a> <ul id='d2' class='dropdown-content'> <li><a href="#!">Profile</a></li> <li><a href="#!">Log-Out</a></li> </ul> </li> </ul> <a href="#" data-activates="slide-out" class="button-collapse"><i class="mdi-navigation-menu"></i></a> </nav>
CSS
Javascript
$(".button-collapse").sideNav(); $('.collapsible').collapsible();
©2013 Copyright snippet.run
Privacy
-
Terms of use
-
About
-
Contact