Difference between revisions of "Template:NYU Shanghai"

Line 62: Line 62:
 
     font-size: 20px;
 
     font-size: 20px;
 
     text-align: center;
 
     text-align: center;
 +
    overflow: scroll;
 
   }
 
   }
 
   #nav ul {
 
   #nav ul {
Line 174: Line 175:
  
 
<script type="text/javascript">
 
<script type="text/javascript">
document.getElementById("content").addEventListener("scroll", scrollNav(){
 
 
});
 
function moveNav() {
 
document.getElementById("nav").scrollLeft = 100;
 
}
 
 
   function reset() {
 
   function reset() {
 
     document.getElementById("project").style.borderWidth = "0px 1px";
 
     document.getElementById("project").style.borderWidth = "0px 1px";
Line 356: Line 351:
 
</div>
 
</div>
 
<div style="width: 982px; height: 80px;"></div>
 
<div style="width: 982px; height: 80px;"></div>
<div onclick="moveNav()" style="height: 100px; width: 100px; background-color: lime;"></div>
 
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 02:46, 25 August 2015