Team:NCTU Formosa/source/head
From 2013.igem.org
(Difference between revisions)
(10 intermediate revisions not shown) | |||
Line 8: | Line 8: | ||
<link href='https://2013.igem.org/Team:NCTU Formosa/css/style?action=raw&ctype=text/css' rel="stylesheet"> | <link href='https://2013.igem.org/Team:NCTU Formosa/css/style?action=raw&ctype=text/css' rel="stylesheet"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/> | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/> | ||
- | <link rel="stylesheet" media="only screen and (min-width: | + | <link rel="stylesheet" media="only screen and (min-width: 750px)" href="https://2013.igem.org/Team:NCTU Formosa/css/style850u?action=raw&ctype=text/css"> |
- | <link rel="stylesheet" media="only screen and (max-width: | + | <link rel="stylesheet" media="only screen and (max-width: 750px)" href="https://2013.igem.org/Team:NCTU Formosa/css/style850b?action=raw&ctype=text/css"> |
+ | <link rel="stylesheet" media="only screen and (max-width: 850px)" href="https://2013.igem.org/Team:NCTU Formosa/css/style750u?action=raw&ctype=text/css"> | ||
<link rel="stylesheet" media="only screen and (max-width: 600px)" href="https://2013.igem.org/Team:NCTU_Formosa/css/style320b?action=raw&ctype=text/css"> | <link rel="stylesheet" media="only screen and (max-width: 600px)" href="https://2013.igem.org/Team:NCTU_Formosa/css/style320b?action=raw&ctype=text/css"> | ||
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script> | <script src="http://code.jquery.com/jquery-1.10.1.min.js"></script> | ||
Line 80: | Line 81: | ||
position: 'fixed', | position: 'fixed', | ||
left: '15px' | left: '15px' | ||
- | }).animate({'top': ' | + | }).animate({'top': '111px'}, 500); |
} | } | ||
var long = false, | var long = false, | ||
Line 99: | Line 100: | ||
} else { | } else { | ||
away = false; | away = false; | ||
- | if ($(document).scrollTop() < | + | if ($(document).scrollTop() < 431){ |
$('#toc').stop().css({ | $('#toc').stop().css({ | ||
position: 'absolute', | position: 'absolute', | ||
Line 109: | Line 110: | ||
position: 'fixed', | position: 'fixed', | ||
left: '15px' | left: '15px' | ||
- | }).animate({'top': ' | + | }).animate({'top': '111px'}, 500); |
} | } | ||
} | } |
Latest revision as of 13:28, 15 September 2014