Line 15: | Line 15: | ||
-webkit-filter: grayscale(80%); | -webkit-filter: grayscale(80%); | ||
width:75%; | width:75%; | ||
+ | position:absolute; | ||
} | } | ||
− | # | + | #greytwo{ |
− | + | width:75%; | |
+ | position:absolute; | ||
+ | opacity:0; | ||
} | } | ||
Line 24: | Line 27: | ||
<body> | <body> | ||
<center><img src = "https://static.igem.org/mediawiki/2016/8/8d/T--BostonU--wikibanner.png" id = "grey"></center> | <center><img src = "https://static.igem.org/mediawiki/2016/8/8d/T--BostonU--wikibanner.png" id = "grey"></center> | ||
+ | <center><img src = "https://static.igem.org/mediawiki/2016/8/8d/T--BostonU--wikibanner.png" id = "greytwo"></center> | ||
</body> | </body> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready( | ||
+ | function(){ | ||
+ | $("#grey").hover(function () { | ||
+ | $('#grey').animate({'opacity':'0'}, 500); | ||
+ | $('#greytwo').animate({'opacity':'1'}, 500); | ||
+ | }); | ||
+ | |||
+ | }); | ||
+ | </script> | ||
+ | |||
</html> | </html> |
Revision as of 15:27, 9 August 2016