Team:NCTU Formosa/source/head
From 2013.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
<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> | ||
- | |||
function adjustStyle(width) { | function adjustStyle(width) { | ||
width = parseInt(width); | width = parseInt(width); | ||
if (width < 850) { | if (width < 850) { | ||
- | $("#size-stylesheet").attr("href", | + | $("#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%25%32%36%63%74%79%70%65%3D%74%65%78%74%2F%63%73%73')); |
} else { | } else { | ||
- | $("#size-stylesheet").attr("href", | + | $("#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%75%3F%61%63%74%69%6F%6E%3D%72%61%77%25%32%36%63%74%79%70%65%3D%74%65%78%74%2F%63%73%73')); |
} | } | ||
} | } | ||
Line 25: | Line 24: | ||
adjustStyle($(this).width()); | adjustStyle($(this).width()); | ||
}); | }); | ||
- | }); | + | }); |
</script> | </script> |
Revision as of 05:19, 29 August 2013