Template:Team:KIT-Kyoto/browser

From 2014.igem.org

(Difference between revisions)
Line 21: Line 21:
</style>
</style>
<script type="text/javascript">
<script type="text/javascript">
-
$(document).ready(function() { 
+
 
-
    setTimeout("animation()",300); 
+
-
}); 
+
-
function animation(){
+
-
$("#kit_browser").animate({left:"+=0px"},'swing'
+
-
});
+
-
}
+
$("#kit_close").click(function(){$("#kit_browser").animate({margin-left:"-340px"},'swing');
$("#kit_close").click(function(){$("#kit_browser").animate({margin-left:"-340px"},'swing');
});
});
</script>
</script>

Revision as of 07:48, 11 September 2014