Difference between revisions of "Template:Example"

Line 2: Line 2:
  
  
<script>
 
var x = (15 * $("#content").width() ) /100;
 
$(".menu_wrapper").css("width", x);
 
</script>
 
  
 
<style>
 
<style>
Line 19: Line 15:
  
  
.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%; }
 +
 
 +
.menu_column {float:left; text-align:center; padding:10px 0px; height:100vh; position:fixed; width:inherit;}
 +
 
 
.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;}
  
Line 81: Line 80:
  
 
<div class="menu_wrapper" >
 
<div class="menu_wrapper" >
 
+
<div class="menu_column">
 
<b>TEAM NAME</b>
 
<b>TEAM NAME</b>
  
Line 101: Line 100:
 
<li onClick=" parent.location= ' '"> AWARDS </li>
 
<li onClick=" parent.location= ' '"> AWARDS </li>
  
 +
</ul>
 +
</div>
  
 
</div>
 
</div>

Revision as of 20:54, 10 March 2016