Line 358: | Line 358: | ||
} | } | ||
}); | }); | ||
− | + | $('.pic').click(function(){ | |
+ | var str=this.innerHTML; | ||
+ | if(str.indexOf("biofilm")>=0){ | ||
+ | window.location.href="https://2016.igem.org/Team:ShanghaitechChina/Biofilm"; | ||
+ | } | ||
+ | if(str.indexOf("Quantum")>=0){ | ||
+ | window.location.href="https://2016.igem.org/Team:ShanghaitechChina/Quantum_Dots"; | ||
+ | } | ||
+ | if(str.indexOf("Hydrogenase")>=0){ | ||
+ | window.location.href="https://2016.igem.org/Team:ShanghaitechChina/Hydrogen"; | ||
+ | } | ||
+ | }); | ||
</script> | </script> | ||
Revision as of 02:52, 18 October 2016