Team:NCTU Formosa/source/head
From 2013.igem.org
(Difference between revisions)
Line 86: | Line 86: | ||
if ($window.scrollTop() < pos) { | if ($window.scrollTop() < pos) { | ||
$this.css({ | $this.css({ | ||
- | position: 'absolute | + | position: 'absolute' |
- | + | ||
}); | }); | ||
$tocf = 0; | $tocf = 0; | ||
} else { | } else { | ||
$this.css({ | $this.css({ | ||
- | position: 'fixed | + | position: 'fixed' |
- | + | ||
}); | }); | ||
$tocf = 1; | $tocf = 1; |
Revision as of 19:29, 15 September 2013