Team:NCTU Formosa/source/head-index
From 2014.igem.org
(Difference between revisions)
Line 276: | Line 276: | ||
background-color: rgba(99, 99, 99, 0.2); | background-color: rgba(99, 99, 99, 0.2); | ||
border-radius: 30px; | border-radius: 30px; | ||
- | opacity: 0. | + | opacity: 0.2; |
float:left; | float:left; | ||
color: rgba(246, 246, 246, 0.04); | color: rgba(246, 246, 246, 0.04); | ||
Line 662: | Line 662: | ||
$(".pro").click(function(){ | $(".pro").click(function(){ | ||
$(".elemen").addClass("element"); | $(".elemen").addClass("element"); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | <script> | ||
+ | $(document).ready(function(){ | ||
+ | $(".attch").click(function(){ | ||
+ | $("wordbox").animate({ | ||
+ | |||
+ | opacity:'1', | ||
+ | height:'150px', | ||
+ | width:'150px' | ||
+ | }); | ||
+ | $(".attch").animate({ | ||
+ | opacity:'0 ' | ||
+ | }); | ||
+ | |||
}); | }); | ||
}); | }); | ||
</script> | </script> |
Revision as of 03:25, 18 October 2014