Team:Georgia State

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<html>
+
<html><!DOCTYPE html>
 +
<head>
<link href="https://googledrive.com/host/0B4nfVqlTfnTzam45bnFnTXUyOEU" rel='stylesheet' />
<link href="https://googledrive.com/host/0B4nfVqlTfnTzam45bnFnTXUyOEU" rel='stylesheet' />
 +
</head>
 +
 +
<body>
 +
<script src="https://googledrive.com/host/0B4nfVqlTfnTzcWFJaDlrWDg0Z2M"></script>
 +
<script>
 +
$( document ).ready(function() {
 +
var img = $('#Navimg');
 +
if(img.length > 0){
 +
    var offset = img.offset();
 +
    function mouse(evt){
 +
        var center_x = (offset.left) + (img.width()/2);
 +
        var center_y = (offset.top) + (img.height()/2);
 +
        var mouse_x = evt.pageX; var mouse_y = evt.pageY;
 +
        var radians = Math.atan2(mouse_x - center_x, mouse_y - center_y);
 +
        var degree = (radians * (180 / Math.PI) * -1) + 90;
 +
        img.css('-moz-transform', 'rotate('+degree+'deg)');
 +
        img.css('-webkit-transform', 'rotate('+degree+'deg)');
 +
        img.css('-o-transform', 'rotate('+degree+'deg)');
 +
        img.css('-ms-transform', 'rotate('+degree+'deg)');
 +
    }
 +
    $(document).mousemove(mouse);
 +
}
 +
});
 +
</script>
 +
<div style="" class="content_">
<div style="" class="content_">
-
<img src="https://static.igem.org/mediawiki/2013/7/78/Mambascales.jpg" />
+
<img id="Navimg" src="https://static.igem.org/mediawiki/2013/7/78/Mambascales.jpg" />
</div>
</div>
 +
 +
</body>
</html>
</html>

Revision as of 05:07, 9 May 2013


Home Team Official Team Profile Project Parts Submitted to the Registry Modeling Notebook Safety Attributions