Team:USTC-Software
From 2014.igem.org
<script src="https://2014.igem.org/Team:USTC-Software/jquery.js?action=raw&ctype=text/javascript"></script>
<script> $(function(){
$('.row .nameplate').click(function(){ var description = $(this).parent().find('.details').html(); var titleText = $(this).text();//text();$('#pop_up_content').html('
' + titleText + '
' + description);$('#pop_up').fadeIn(); return false; }); $('.row .profilewrap').click(function(){ var description = $(this).find('.details').html(); var titleText = $(this).find('.nameplate').text();//text();$('#pop_up_content').html('
' + titleText + '
' + description);$('#pop_up').fadeIn(); return false; }); $('#pop_up #pop_up_close').click(function(){ $('#pop_up').fadeOut(); }); $('#pop_up #pop_up_underlay').click(function(){ $('#pop_up').fadeOut(); }); /* $(".profilewrap").hover(function(){ $(this).find('.normal').hide(); $(this).find('.crazy').show(); },function(){ $(this).find('.normal').show(); $(this).find('.crazy').hide(); });
- /
}); </script>
<script src="https://2014.igem.org/Team:USTC-Software/main.js?action=raw&ctype=text/javascript"></script> <script src="https://2014.igem.org/Team:USTC-Software/foundation.min.js?action=raw&ctype=text/javascript"></script> <script> $(document).foundation(); </script> </body>
</html>