Template:Team:KIT-Kyoto/browser
From 2014.igem.org
(Difference between revisions)
Line 22: | Line 22: | ||
</style> | </style> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | $("#kit_browser").animate({left:"+=0px"} | + | $(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:45, 11 September 2014