Team:NCTU Formosa/source/head

From 2013.igem.org

(Difference between revisions)
Line 2: Line 2:
<meta name="copyright" content="Contents belong to NCTU Formosa; Website designed by Calvin Hue." />
<meta name="copyright" content="Contents belong to NCTU Formosa; Website designed by Calvin Hue." />
<meta name="keywords" content="iGEM, NCTU_Formosa, NCTU, Formosa" />
<meta name="keywords" content="iGEM, NCTU_Formosa, NCTU, Formosa" />
 +
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
 +
<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 href="http://fonts.googleapis.com/css?family=Open+Sans:500,400,300|Lobster+Two:700|Quicksand:700" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Open+Sans:500,400,300|Lobster+Two:700|Quicksand:700" rel="stylesheet" type="text/css">
<link href='https://2013.igem.org/Team:NCTU Formosa/css/reset?action=raw&ctype=text/css' rel="stylesheet">
<link href='https://2013.igem.org/Team:NCTU Formosa/css/reset?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">
<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"/>
+
<link id="size-stylesheet" rel="stylesheet" type="text/css" href="https://2013.igem.org/Team:NCTU Formosa/css/style850u?action=raw&ctype=text/css" />
-
<link rel="stylesheet" media="only screen and (min-width: 850px)" href="https://2013.igem.org/Team:NCTU Formosa/css/style850u?action=raw&ctype=text/css">
+
-
<link rel="stylesheet" media="only screen and (max-width: 850px)" href="https://2013.igem.org/Team:NCTU Formosa/css/style850b?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>
<script src="https://2013.igem.org/Team:Team:NCTU_Formosa/js/modernizr.custom?action=raw&ctype=text/javascript"></script>
<script src="https://2013.igem.org/Team:Team:NCTU_Formosa/js/modernizr.custom?action=raw&ctype=text/javascript"></script>
<script>
<script>
-
    /*
 
-
<link id="size-stylesheet" rel="stylesheet" type="text/css" href="https://2013.igem.org/Team:NCTU Formosa/css/style850u?action=raw&ctype=text/css" />
 
-
 
function adjustStyle(width) {
function adjustStyle(width) {
     width = parseInt(width);
     width = parseInt(width);
-
 
+
    if (width < 850) {
-
if (width < 850) {
+
         $("#size-stylesheet").attr("href", unescape('%68%74%74%70%3A%2F%2F%32%30%31%33%2E%69%67%65%6D%2E%6F%72%67%2F%54%65%61%6D%3A%4E%43%54%55%20%46%6F%72%6D%6F%73%61%2F%63%73%73%2F%73%74%79%6C%65%38%35%30%62%3F%61%63%74%69%6F%6E%3D%72%61%77%26%63%74%79%70%65%3D%74%65%78%74%2F%63%73%73'));
         $("#size-stylesheet").attr("href", unescape('%68%74%74%70%3A%2F%2F%32%30%31%33%2E%69%67%65%6D%2E%6F%72%67%2F%54%65%61%6D%3A%4E%43%54%55%20%46%6F%72%6D%6F%73%61%2F%63%73%73%2F%73%74%79%6C%65%38%35%30%62%3F%61%63%74%69%6F%6E%3D%72%61%77%26%63%74%79%70%65%3D%74%65%78%74%2F%63%73%73'));
     } else {
     } else {
Line 29: Line 24:
         adjustStyle($(this).width());
         adjustStyle($(this).width());
     });
     });
-
*/
 
var lastId,
var lastId,
     topMenu = $("#toc"),
     topMenu = $("#toc"),
Line 83: Line 77:
   }     
   }     
});
});
-
});
+
})  
$(document).ready(function(){
$(document).ready(function(){
var long = false,
var long = false,
Line 127: Line 121:
$('.changeFontText').css({opacity: '1'});
$('.changeFontText').css({opacity: '1'});
$('.changeFontArrow').css({opacity: '1'});
$('.changeFontArrow').css({opacity: '1'});
 +
}
 +
if($(window).width()<850) {
 +
$('.changeFont').css({display: 'none'});
 +
} else {
 +
 +
$('.changeFont').css({display: 'block'});
}
}
});
});

Revision as of 14:17, 26 September 2013