Team:Grenoble/script
From 2012.igem.org
(Difference between revisions)
Line 63: | Line 63: | ||
c.style[b]=a[b] | c.style[b]=a[b] | ||
} | } | ||
+ | } | ||
+ | |||
+ | function p(c,a){ | ||
+ | a=(a==1)?0.99999:a; | ||
+ | c.style.opacity=a; | ||
+ | c.style.filter='alpha(opacity='+a*100+')'; | ||
+ | c.style.MozOpacity=a; | ||
+ | c.style.KhtmlOpacity=a | ||
} | } | ||
Revision as of 15:30, 11 July 2012