Team:UESTC-China/home1

From 2014.igem.org

(Difference between revisions)
Line 539: Line 539:
</div>
</div>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>  
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>  
-
<script type="text/javascript">
 
-
 
-
$(document).ready(function(){
 
-
 
-
var datatemp=function(){
 
-
this.head;
 
-
this.content;
 
-
}
 
-
var data1=new datatemp();
 
-
var data2=new datatemp();
 
-
var data3=new datatemp();
 
-
var data4=new datatemp();
 
-
 
-
var init=function(){
 
-
$('.arrow').hide();
 
-
$('.top-menu-sub').hide();
 
-
 
-
}
 
-
var bind=function(){
 
-
$("#top").hide();
 
-
$(document).scroll(function(){
 
-
if($(document).scrollTop()>308){
 
-
$("#left-bar").css("position","fixed");
 
-
$("#left-bar").css("top","0%");
 
-
}
 
-
else{
 
-
console.log(1);
 
-
$("#left-bar").css("position","absolute");
 
-
$("#left-bar").css("top","");
 
-
 
-
};
 
-
})
 
-
$('.top-menu-each').hover(function(){
 
-
$('.top-menu-each.click .arrow').hide();
 
-
$('.top-menu-each.click').removeClass('click');
 
-
$(this).addClass('click');
 
-
$(this).find('.arrow').show();
 
-
$('.top-menu-sub.show').hide();
 
-
$('.top-menu-sub.show').removeClass('show');
 
-
$(this).find('.top-menu-sub').addClass('show');
 
-
$(this).find('.top-menu-sub').show();}
 
-
,
 
-
function() {
 
-
 
-
$(this).removeClass('click');
 
-
$(this).find('.arrow').hide();
 
-
$(this).find('.top-menu-sub').removeClass('show');
 
-
$(this).find('.top-menu-sub').hide();
 
-
 
-
 
-
})
 
-
 
-
 
-
}
 
-
var changepic=function(){
 
-
imagecount=imagecount+1;
 
-
if(imagecount==imageload.length){
 
-
imagecount=imagecount-imageload.length;
 
-
}
 
-
}
 
-
$(window).scroll(function(){
 
-
min_height=window.screen.availHeight ;
 
-
var s = $(window).scrollTop();
 
-
if( s > 0){
 
-
if(!$("#top").hasClass("hide"))
 
-
$('#top').fadeIn(100);
 
-
}else{
 
-
$('#top').fadeOut(200);
 
-
};
 
-
});
 
-
 
-
 
-
$('#top').click(function(){
 
-
$('html,body').animate({scrollTop:0},300);
 
-
 
-
});
 
-
setInterval(changepic,5000);
 
-
init();
 
-
bind();
 
-
/*
 
-
if ($("p:contains('Team')").parent().next().find("p").html() == "Result") {
 
-
$("p:contains('Result')").parent().remove();
 
-
};
 
-
if ($("p:contains('Modeling')").parent().next().find("p").html() != "Result") {
 
-
a = $("p:contains('Home')").parent().parent().clone();
 
-
a.find('p').html('Result');
 
-
a.find('a').attr('href','/Team:UESTC-China/result');
 
-
$("p:contains('Modeling')").parent().after(a);
 
-
};*/
 
-
item = window.location.href.split('/').pop();
 
-
item = item.split('.')[0];
 
-
 
-
if ( item == "members" ) {
 
-
 
-
$('iframe').css('width','900px');
 
-
 
-
};
 
-
 
-
 
-
})
 
-
</script>
 
<script>
<script>
Line 817: Line 716:
</script>
</script>
 +
<script type="text/javascript">
 +
 +
$(document).ready(function(){
 +
 +
var datatemp=function(){
 +
this.head;
 +
this.content;
 +
}
 +
var data1=new datatemp();
 +
var data2=new datatemp();
 +
var data3=new datatemp();
 +
var data4=new datatemp();
 +
 +
var init=function(){
 +
$('.arrow').hide();
 +
$('.top-menu-sub').hide();
 +
 +
}
 +
var bind=function(){
 +
$("#top").hide();
 +
$(document).scroll(function(){
 +
if($(document).scrollTop()>308){
 +
$("#left-bar").css("position","fixed");
 +
$("#left-bar").css("top","0%");
 +
}
 +
else{
 +
console.log(1);
 +
$("#left-bar").css("position","absolute");
 +
$("#left-bar").css("top","");
 +
 +
};
 +
})
 +
$('.top-menu-each').hover(function(){
 +
$('.top-menu-each.click .arrow').hide();
 +
$('.top-menu-each.click').removeClass('click');
 +
$(this).addClass('click');
 +
$(this).find('.arrow').show();
 +
$('.top-menu-sub.show').hide();
 +
$('.top-menu-sub.show').removeClass('show');
 +
$(this).find('.top-menu-sub').addClass('show');
 +
$(this).find('.top-menu-sub').show();}
 +
,
 +
function() {
 +
 +
$(this).removeClass('click');
 +
$(this).find('.arrow').hide();
 +
$(this).find('.top-menu-sub').removeClass('show');
 +
$(this).find('.top-menu-sub').hide();
 +
 +
 +
})
 +
 +
 +
}
 +
var changepic=function(){
 +
imagecount=imagecount+1;
 +
if(imagecount==imageload.length){
 +
imagecount=imagecount-imageload.length;
 +
}
 +
}
 +
$(window).scroll(function(){
 +
min_height=window.screen.availHeight ;
 +
var s = $(window).scrollTop();
 +
if( s > 0){
 +
if(!$("#top").hasClass("hide"))
 +
$('#top').fadeIn(100);
 +
}else{
 +
$('#top').fadeOut(200);
 +
};
 +
});
 +
 +
 +
$('#top').click(function(){
 +
$('html,body').animate({scrollTop:0},300);
 +
 +
});
 +
setInterval(changepic,5000);
 +
init();
 +
bind();
 +
/*
 +
if ($("p:contains('Team')").parent().next().find("p").html() == "Result") {
 +
$("p:contains('Result')").parent().remove();
 +
};
 +
if ($("p:contains('Modeling')").parent().next().find("p").html() != "Result") {
 +
a = $("p:contains('Home')").parent().parent().clone();
 +
a.find('p').html('Result');
 +
a.find('a').attr('href','/Team:UESTC-China/result');
 +
$("p:contains('Modeling')").parent().after(a);
 +
};*/
 +
item = window.location.href.split('/').pop();
 +
item = item.split('.')[0];
 +
 +
if ( item == "members" ) {
 +
 +
$('iframe').css('width','900px');
 +
 +
};
 +
 +
 +
})
 +
</script>
 +
</body>
</body>
</html>
</html>

Revision as of 13:22, 10 October 2014

Plant Vs HCHO

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.