Team:Groningen/DesignTest
From 2012.igem.org
(Difference between revisions)
Line 14: | Line 14: | ||
<html> | <html> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
<ul id="expand" class="expand-down"> | <ul id="expand" class="expand-down"> | ||
Line 84: | Line 64: | ||
</ul> | </ul> | ||
</div> | </div> | ||
+ | |||
+ | <script type="text/javascript" src="http://jqueryrotate.googlecode.com/svn/trunk/jQueryRotate.js"></script> | ||
+ | <img src="https://static.igem.org/mediawiki/2012/e/e4/Groningen2012_AD_20120802_WindmillArms.png" id="image"> | ||
+ | <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | $("#image").rotate({ | ||
+ | bind: | ||
+ | { | ||
+ | mouseover : function() { | ||
+ | $(this).rotate({animateTo:180}) | ||
+ | }, | ||
+ | mouseout : function() { | ||
+ | $(this).rotate({animateTo:0}) | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
</body> | </body> |
Revision as of 06:56, 9 August 2012