Team:NCTU Formosa/source/head
From 2013.igem.org
(Difference between revisions)
Line 11: | Line 11: | ||
<script src="https://2013.igem.org/Team:Team:NCTU_Formosa/js/jquery-scrollspy?action=raw&ctype=text/javascript"></script> | <script src="https://2013.igem.org/Team:Team:NCTU_Formosa/js/jquery-scrollspy?action=raw&ctype=text/javascript"></script> | ||
<script> | <script> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
function adjustStyle(width) { | function adjustStyle(width) { | ||
width = parseInt(width); | width = parseInt(width); | ||
Line 29: | Line 20: | ||
} | } | ||
$(function() { | $(function() { | ||
+ | $("html").niceScroll(); | ||
adjustStyle($(this).width()); | adjustStyle($(this).width()); | ||
$(window).resize(function() { | $(window).resize(function() { |
Revision as of 02:28, 30 August 2013