Line 54: | Line 54: | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> | <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> | ||
<script> | <script> | ||
− | $(' | + | $(document).ready(function(){ |
− | $('.image').addClass('.clicked_image');}); | + | $('.name_tag').onClick(function(){ |
+ | $('.image').addClass('.clicked_image');});}); | ||
</script> | </script> | ||
</head> | </head> | ||
Line 70: | Line 71: | ||
<img id = "John Luke" style=" float:left; display:inline" src="https://static.igem.org/mediawiki/2016/7/75/John_Luke-Serious-min.png" onmouseover="this.src='https://static.igem.org/mediawiki/2016/9/9d/John_Luke-Silly-min.png'" onmouseout="this.src='https://static.igem.org/mediawiki/2016/7/75/John_Luke-Serious-min.png'" width="350px" height="auto" alt="John Luke Garcia" /> | <img id = "John Luke" style=" float:left; display:inline" src="https://static.igem.org/mediawiki/2016/7/75/John_Luke-Serious-min.png" onmouseover="this.src='https://static.igem.org/mediawiki/2016/9/9d/John_Luke-Silly-min.png'" onmouseout="this.src='https://static.igem.org/mediawiki/2016/7/75/John_Luke-Serious-min.png'" width="350px" height="auto" alt="John Luke Garcia" /> | ||
</div> | </div> | ||
− | <div | + | <div class = "name_tag" style="float:middle;background-color:yellow;"> |
<h6>John Luke García</h6> | <h6>John Luke García</h6> | ||
</div> | </div> |
Revision as of 18:35, 8 July 2016