Difference between revisions of "Template:NYU Shanghai"

Line 177: Line 177:
  
 
<script type="text/javascript">
 
<script type="text/javascript">
document.getElementById("bodyContent").onscroll=function(){
 
//document.getElementById("nav").scrollLeft = document.getElementById("content").scrollLeft;
 
                document.getElementById("testdiv").style.backgroundColor = "blue";
 
};
 
 
   function reset() {
 
   function reset() {
 
     document.getElementById("project").style.borderWidth = "0px 1px";
 
     document.getElementById("project").style.borderWidth = "0px 1px";
Line 357: Line 353:
 
</div>
 
</div>
 
<div style="width: 982px; height: 80px;"></div>
 
<div style="width: 982px; height: 80px;"></div>
<div id="testdiv" style="height: 100px; width: 100px; background-color: lime; margin: 0 auto;"></div>
 
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 03:22, 25 August 2015