Difference between revisions of "Team:Warwick/test"

Line 1: Line 1:
{{Warwick}}
 
 
<html>
 
 
<style>
 
<style>
div.floating-menu {position:fixed; left:0px; top:45px; background:#ffffff;padding:0px;;width:140px;z-index:10;}
+
div.floating-menu {position:fixed; left:0px; top:42px; padding:0px;;width:140px;z-index:10;}
 
div.floating-menu a, div.floating-menu h3 {display:block;margin:0 0.1em;}
 
div.floating-menu a, div.floating-menu h3 {display:block;margin:0 0.1em;}
 
</style>
 
</style>
Line 19: Line 16:
 
         $("#wrapper").toggleClass("toggled");
 
         $("#wrapper").toggleClass("toggled");
 
     });</script>
 
     });</script>
 
</html>
 

Revision as of 14:16, 9 September 2015

<style> div.floating-menu {position:fixed; left:0px; top:42px; padding:0px;;width:140px;z-index:10;} div.floating-menu a, div.floating-menu h3 {display:block;margin:0 0.1em;} </style>

<a href="#menu-toggle" class="btn btn-default" id="menu-toggle">Toggle Menu</a></p>




<script>$("#menu-toggle").click(function(e) {

       e.preventDefault();
       $("#wrapper").toggleClass("toggled");
   });</script>