Template:CSS/UT-Tokyo/Counter/Contents
From 2014.igem.org
(Difference between revisions)
Pineappler (Talk | contribs) |
Pineappler (Talk | contribs) |
||
Line 613: | Line 613: | ||
$("#contentsBody").mCustomScrollbar("scrollTo","top"); | $("#contentsBody").mCustomScrollbar("scrollTo","top"); | ||
} | } | ||
- | function chgOpacity(){ | + | function chgOpacity(opa){ |
- | this.style.filter = "alpha(opacity= | + | this.style.filter = "alpha(opacity="+ opa + ")"; |
- | this.style.-moz-opacity = | + | this.style.-moz-opacity = opa; |
- | this.style.opacity = | + | this.style.opacity = opa; |
} | } | ||
</script> | </script> |