Team:Grenoble/script
From 2012.igem.org
(Difference between revisions)
Line 50: | Line 50: | ||
d=b.scrollWidth | d=b.scrollWidth | ||
}return{'w':d,'h':e} | }return{'w':d,'h':e} | ||
+ | } | ||
+ | |||
+ | function y(c,a,b,d){ | ||
+ | if(c.addEventListener){ | ||
+ | c.addEventListener(a,b,d) | ||
+ | }else{ | ||
+ | c.attachEvent("on"+a,b)} | ||
+ | } | ||
+ | |||
+ | function s(c,a){ | ||
+ | for(var b in a){ | ||
+ | c.style[b]=a[b] | ||
+ | } | ||
} | } | ||
Revision as of 15:29, 11 July 2012