Team:NCTU Formosa/source/head
From 2013.igem.org
(Difference between revisions)
Line 26: | Line 26: | ||
var height = $('body').height(); | var height = $('body').height(); | ||
var scrollTop = $('body').scrollTop(); | var scrollTop = $('body').scrollTop(); | ||
- | var opacity = | + | var opacity = 0.7; |
- | if(scrollTop > | + | if(scrollTop > 10) { |
opacity = 0; | opacity = 0; | ||
} | } |
Revision as of 12:48, 30 August 2013