Team:BUCT-China

From 2014.igem.org

(Difference between revisions)
Line 3: Line 3:
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.min.css">
-
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10/jquery.min.js"></script>  
<script src="http://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="http://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
-
<script>
+
 
-
$(document).ready(function(){
+
-
var win_width = $(window).width()/2 - $("#address").width()/2;
+
-
$("#address").css("left",win_width);
+
-
});
+
-
</script>
+
</head>
</head>
<body >
<body >

Revision as of 00:55, 13 October 2014