Team:Goettingen/suplement/scripts

From 2013.igem.org

(Difference between revisions)
Line 118: Line 118:
return dLeft;
return dLeft;
}
}
-
 
Line 134: Line 133:
     obj.style.marginTop = coords - 40  + 'px';
     obj.style.marginTop = coords - 40  + 'px';
     obj.style.width = width -20 + 'px';
     obj.style.width = width -20 + 'px';
 +
    obj.onmouseout = function(){obj.style.display = 'none'}
     obj.onmouseover = function(){obj.style.display = 'block';}
     obj.onmouseover = function(){obj.style.display = 'block';}
 +
    obj.onmousedown = function(){window.location.assign(object.href);}
     obj.style.height = 40 + 'px';
     obj.style.height = 40 + 'px';
     obj.style.display = 'block';
     obj.style.display = 'block';
-
    
+
   //alert();
}
}

Revision as of 15:56, 28 June 2013