Difference between revisions of "Template:Example"

Line 12: Line 12:
  
  
 +
<script>
 +
x = (15 * $("#content").width() ) /100;
 +
$(".menu_wrapper").css{"width", x);
 +
</script>
  
 
+
.menu_wrapper {background-color:#f2f2f2;  width:15%; float:left; text-align:center; padding:10px 0px; height:100vh; position:fixed;}
.menu_wrapper {background-color:#f2f2f2;  width:15%; float:left; text-align:center; padding:10px 0px; height:100vh; }
+
 
.menu_wrapper ul  {list-style: none; width:100%; margin-left:0px; padding:0px;}
 
.menu_wrapper ul  {list-style: none; width:100%; margin-left:0px; padding:0px;}
  

Revision as of 20:50, 10 March 2016