Template:Team:Washington/Templates/Header

From 2009.igem.org

(Difference between revisions)
Line 5: Line 5:
window.onscroll = function() {
window.onscroll = function() {
   if ( window.XMLHttpRequest ) { // IE 6 doesn't implement position fixed nicely...
   if ( window.XMLHttpRequest ) { // IE 6 doesn't implement position fixed nicely...
-
     if (document.documentElement.scrollTop > 282) {
+
     if (Math.max(document.documentElement.scrollTop, document.body.scrollTop) > 282) {
       document.getElementById('uw_navBar').style.position = 'fixed';  
       document.getElementById('uw_navBar').style.position = 'fixed';  
       document.getElementById('uw_navBar').style.top = '0';
       document.getElementById('uw_navBar').style.top = '0';

Revision as of 04:27, 8 October 2009

University of Washington iGEM 2009

UW iGEM 2009 Logo Ideal Protein Purification