Template:Team:Groningen/sandboxHeader
From 2010.igem.org
(Difference between revisions)
Joelkuiper (Talk | contribs) |
Joelkuiper (Talk | contribs) |
||
Line 1: | Line 1: | ||
- | <html><link rel="stylesheet" type="text/css" href="http://casualconnect.net/iGEM/overall.css"></html> | + | <html><link rel="stylesheet" type="text/css" href="http://casualconnect.net/iGEM/overall.css"> |
+ | <script type="text/javascript" src="http://casualconnect.net/iGEM/jquery.easing.min.js"> | ||
+ | </script><script type="text/javascript" src="http://casualconnect.net/iGEM/jquery.lavalamp.min.js"> | ||
+ | </script><script type="text/javascript"> | ||
+ | $(function() { | ||
+ | $("#tabs").lavaLamp({ | ||
+ | fx: "backout", | ||
+ | speed: 700, | ||
+ | click: function(event, obj) { | ||
+ | var margin = $(".slide_content").width(); | ||
+ | margin = margin * ($(obj).prevAll().size()); | ||
+ | margin = margin * -1; | ||
+ | $(".tabslider").stop().animate({ | ||
+ | marginLeft: margin + "px" | ||
+ | }, { | ||
+ | duration: 300 | ||
+ | }); | ||
+ | |||
+ | return false; | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | </html> |
Revision as of 10:46, 15 July 2010