Team:USTC CHINA/Team
From 2013.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<head> | <head> | ||
<link rel="stylesheet" type="text/css" href="https://2013.igem.org/Team:USTC_CHINA/main.css?action=raw&ctype=text/css" /> | <link rel="stylesheet" type="text/css" href="https://2013.igem.org/Team:USTC_CHINA/main.css?action=raw&ctype=text/css" /> | ||
- | <link rel="stylesheet" type="text/css" href="https://2013.igem.org/Team:USTC_CHINA/pro.css?action=raw&ctype=text/css" /> | + | <link rel="stylesheet" type="text/css" href="https://2013.igem.org/Team:USTC_CHINA/pro.css?action=raw&ctype=text/css" /> |
+ | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js" type= "text/javascript"> </script> | ||
+ | <script> | ||
+ | $(function(){ | ||
+ | $('#teamwrapper .nameplate').click(function(){ | ||
+ | var description = $(this).parent().find('.details').html(); | ||
+ | var titleText = $(this).text();//text(); | ||
+ | $('#pop_up_content').html('<h2>' + titleText + '</h2>' + description); | ||
+ | $('#pop_up').fadeIn(); | ||
+ | return false; | ||
+ | }); | ||
+ | |||
+ | $('#teamwrapper .profilewrap').click(function(){ | ||
+ | var description = $(this).find('.details').html(); | ||
+ | var titleText = $(this).find('.nameplate').text();//text(); | ||
+ | $('#pop_up_content').html('<h2>' + titleText + '</h2>' + description); | ||
+ | $('#pop_up').fadeIn(); | ||
+ | return false; | ||
+ | }); | ||
+ | |||
+ | |||
+ | $(".profilewrap").hover(function(){ | ||
+ | $(this).find('.normal').hide(); | ||
+ | $(this).find('.crazy').show(); | ||
+ | |||
+ | },function(){ | ||
+ | $(this).find('.normal').show(); | ||
+ | $(this).find('.crazy').hide(); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
</head> | </head> | ||
+ | |||
+ | |||
<body> | <body> | ||
<div class="bar" align="center"> | <div class="bar" align="center"> |
Revision as of 17:13, 23 September 2013