Team:UESTC-China/home1
From 2014.igem.org
Line 720: | Line 720: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
+ | var imageload=new Array("https://static.igem.org/mediawiki/2014/1/15/NewPlant1.jpg","https://static.igem.org/mediawiki/2014/8/83/Home1.jpg","https://static.igem.org/mediawiki/2014/9/9f/NewPlant2.jpg","https://static.igem.org/mediawiki/2014/1/14/All_students3.jpg"); | ||
var datatemp=function(){ | var datatemp=function(){ | ||
this.head; | this.head; | ||
Line 728: | Line 729: | ||
var data3=new datatemp(); | var data3=new datatemp(); | ||
var data4=new datatemp(); | var data4=new datatemp(); | ||
- | + | data1.head="Plants"; | |
+ | data1.content="Culture"; | ||
+ | data2.head="SuperPlant "; | ||
+ | data2.content="Plants vs HCOH"; | ||
+ | data3.head="Plants "; | ||
+ | data3.content="Transform"; | ||
+ | data4.head="Our Team"; | ||
+ | data4.content="Keep moving"; | ||
+ | var imageintro=new Array(data1,data2,data3,data4); | ||
+ | var imagecount=0; | ||
+ | |||
var init=function(){ | var init=function(){ | ||
$('.arrow').hide(); | $('.arrow').hide(); | ||
Line 770: | Line 781: | ||
} | } | ||
- | + | var changepic=function(){ | |
+ | imagecount=imagecount+1; | ||
+ | if(imagecount==imageload.length){ | ||
+ | imagecount=imagecount-imageload.length; | ||
+ | } | ||
+ | $('#big-photo-hover').fadeOut(function(){ | ||
+ | $('#big-photo-wrap').prepend('<img src='+imageload[imagecount]+'>'); | ||
+ | $('#big-photo img:eq(0)').css('margin-left','-1214px'); | ||
+ | $('#big-photo img:eq(0)').animate({marginLeft:'0px'},3000); | ||
+ | $('#big-photo img:eq(1)').animate({marginLeft:'1214px'},3000,function(){ | ||
+ | $('#big-photo img:eq(1)').remove(); | ||
+ | $('#big-photo-hover .header').html(imageintro[imagecount].head); | ||
+ | $('#big-photo-hover .content').html(imageintro[imagecount].content); | ||
+ | $('#big-photo-hover').fadeIn(); | ||
+ | }); | ||
+ | }) | ||
+ | |||
+ | |||
+ | } | ||
$(window).scroll(function(){ | $(window).scroll(function(){ | ||
min_height=window.screen.availHeight ; | min_height=window.screen.availHeight ; | ||
Line 811: | Line 840: | ||
}) | }) | ||
- | </script> | + | |
+ | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 13:27, 10 October 2014
Introduction
As the rapid economic development in China, the residential conditions of people have been greatly improved. Unfortunately, the potential harm of their indoor decoration was always neglected until people get sick. One of the most harmful gases of the indoor pollution could be the formaldehyde. Formaldehyde is a toxic gas appears in every single room which is newly decorated. It not only has bad smell, but also cause various of desease, like skin and mucous membrane irritation, immunity or memory decline, drowsiness, fatigue, cancer, allergic dermatitis. To decrease the concentration of HCHO, we got air purifier, physical adsorption, negative air ions, photocatalyst pathway and etc. We thought that the biological methods is the best. It's delicate, it's simple, and it's safe. Therefore, we decided to cultivate a plant which got the ability to metabolize the formaldehyde. Actually, all kinds of plants can degrade the formaldehyde, but we decide to make their formaldehyde degradation system works better. In the future,we sincerely chrish the hope that our work will be put to use in our everyday life.