Team:ZJU-China/test.htm

From 2012.igem.org

(Difference between revisions)
Line 166: Line 166:
-
<body>
+
<script src="http://www.jiajunlu.com/igem/cufon-yui.js" type="text/javascript"></script><style type="text/css">cufon{text-indent:0!important;}@media screen,projection{cufon{display:inline!important;display:inline-block!important;position:relative!important;vertical-align:middle!important;font-size:1px!important;line-height:1px!important;}cufon cufontext{display:-moz-inline-box!important;display:inline-block!important;width:0!important;height:0!important;overflow:hidden!important;text-indent:-10000in!important;}cufon canvas{position:relative!important;}}@media print{cufon{padding:0!important;}cufon canvas{display:none!important;}}</style>
 +
<script src="http://www.jiajunlu.com/igem/gotham.js" type="text/javascript"></script>
 +
<script type="text/javascript">
 +
Cufon.replace('h1,h2,h3,h5');
 +
</script>
-
This is a Test page.
+
<script type="text/javascript" src="http://www.jiajunlu.com/igem/jquery-1.3.2.min.js"></script>
 +
<script type="text/javascript" src="http://www.jiajunlu.com/igem/my.js"></script>
 +
<script src="http://www.jiajunlu.com/igem/slide.js" type="text/javascript"></script>
 +
<script type="text/javascript" src="http://www.jiajunlu.com/igem/validation_login.js"></script>
 +
 
 +
<script type="text/javascript">
 +
 
 +
function movetotop(){
 +
    $("html, body").animate({ scrollTop: 0 }, "slow");
 +
    return false;
 +
}
 +
 
 +
        $(function() {
 +
            var offset = $("#logo").offset();
 +
            var topPadding = 15;
 +
            $(window).scroll(function() {
 +
                if ($(window).scrollTop() > offset.top) {
 +
                    $("#logo").stop().animate({
 +
                        marginTop: $(window).scrollTop() - offset.top + topPadding
 +
                    });
 +
                } else {
 +
                    $("#logo").stop().animate({
 +
                        marginTop: 0
 +
                    });
 +
                };
 +
            });
 +
        });
 +
    </script>
 +
</head>
 +
 
 +
 
 +
<body class="home">
 +
 
 +
<p>This is a Test page.</p>
</body></html>
</body></html>

Revision as of 09:08, 20 September 2012

HOME

This is a Test page.