Template:Team:KIT-Kyoto/browser
From 2014.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
position:fixed; | position:fixed; | ||
bottom:10px; | bottom:10px; | ||
- | left: | + | left:-340px; |
width:320px; | width:320px; | ||
- | |||
padding:5px 10px; | padding:5px 10px; | ||
background-color:rgba(0,0,0,0.5); | background-color:rgba(0,0,0,0.5); | ||
Line 23: | Line 22: | ||
</style> | </style> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | $("#kit_browser").animate( | + | $("#kit_browser").animate("left":"0px"},{duration:300,'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:38, 11 September 2014