Team:ZJU-China

From 2012.igem.org

(Difference between revisions)
Line 13: Line 13:
<script language="javascript" type="text/javascript">
<script language="javascript" type="text/javascript">
-
//主函数
 
var s1=function(){
var s1=function(){
-
var interv=2000; //切换间隔时间
+
var interv=2000;
-
var interv2=10; //切换速速
+
var interv2=10;
-
var opac1=80; //文字背景的透明度
+
var opac1=80;
-
var source="fade_focus1" //焦点轮换图片容器的id名称
+
var source="fade_focus1"
-
//获取对象
+
function getTag(tag,obj){if(obj==null){return document.getElementsByTagName(tag)}else{return obj.getElementsByTagName(tag)}}
function getTag(tag,obj){if(obj==null){return document.getElementsByTagName(tag)}else{return obj.getElementsByTagName(tag)}}
function getid(id){return document.getElementById(id)};
function getid(id){return document.getElementById(id)};
var opac=0,j=0,t=63,num,scton=0,timer,timer2,timer3;var id=getid(source);id.removeChild(getTag("div",id)[0]);var li=getTag("li",id);var div=document.createElement("div");var title=document.createElement("div");var span=document.createElement("span");var button=document.createElement("div");button.className="button";for(var i=0;i<li.length;i++){var a=document.createElement("a");a.innerHTML=i+1;a.onclick=function(){clearTimeout(timer);clearTimeout(timer2);clearTimeout(timer3);j=parseInt(this.innerHTML)-1;scton=0;t=63;opac=0;fadeon();};a.className="b1";a.onmouseover=function(){this.className="b2"};a.onmouseout=function(){this.className="b1";sc(j)};button.appendChild(a);}
var opac=0,j=0,t=63,num,scton=0,timer,timer2,timer3;var id=getid(source);id.removeChild(getTag("div",id)[0]);var li=getTag("li",id);var div=document.createElement("div");var title=document.createElement("div");var span=document.createElement("span");var button=document.createElement("div");button.className="button";for(var i=0;i<li.length;i++){var a=document.createElement("a");a.innerHTML=i+1;a.onclick=function(){clearTimeout(timer);clearTimeout(timer2);clearTimeout(timer3);j=parseInt(this.innerHTML)-1;scton=0;t=63;opac=0;fadeon();};a.className="b1";a.onmouseover=function(){this.className="b2"};a.onmouseout=function(){this.className="b1";sc(j)};button.appendChild(a);}
-
//控制图层透明度
 
function alpha(obj,n){if(document.all){obj.style.filter="alpha(opacity="+n+")";}else{obj.style.opacity=(n/100);}}
function alpha(obj,n){if(document.all){obj.style.filter="alpha(opacity="+n+")";}else{obj.style.opacity=(n/100);}}
-
//控制焦点按钮
 
function sc(n){for(var i=0;i<li.length;i++){button.childNodes[i].className="b1"};button.childNodes[n].className="b2";}
function sc(n){for(var i=0;i<li.length;i++){button.childNodes[i].className="b1"};button.childNodes[n].className="b2";}
title.className="num_list";title.appendChild(span);alpha(title,opac1);id.className="d1";div.className="d2";id.appendChild(div);id.appendChild(title);id.appendChild(button);
title.className="num_list";title.appendChild(span);alpha(title,opac1);id.className="d1";div.className="d2";id.appendChild(div);id.appendChild(title);id.appendChild(button);
-
//渐显
 
var fadeon=function(){opac+=5;div.innerHTML=li[j].innerHTML;span.innerHTML=getTag("img",li[j])[0].alt;alpha(div,opac);if(scton==0){sc(j);num=-2;scrolltxt();scton=1};if(opac<100){timer=setTimeout(fadeon,interv2)}else{timer2=setTimeout(fadeout,interv);};}
var fadeon=function(){opac+=5;div.innerHTML=li[j].innerHTML;span.innerHTML=getTag("img",li[j])[0].alt;alpha(div,opac);if(scton==0){sc(j);num=-2;scrolltxt();scton=1};if(opac<100){timer=setTimeout(fadeon,interv2)}else{timer2=setTimeout(fadeout,interv);};}
-
//渐隐
 
var fadeout=function(){opac-=5;div.innerHTML=li[j].innerHTML;alpha(div,opac);if(scton==0){num=2;scrolltxt();scton=1};if(opac>0){timer=setTimeout(fadeout,interv2)}else{if(j<li.length-1){j++}else{j=0};fadeon()};}
var fadeout=function(){opac-=5;div.innerHTML=li[j].innerHTML;alpha(div,opac);if(scton==0){num=2;scrolltxt();scton=1};if(opac>0){timer=setTimeout(fadeout,interv2)}else{if(j<li.length-1){j++}else{j=0};fadeon()};}
-
//滚动文字
 
var scrolltxt=function(){t+=num;span.style.marginTop=t+"px";if(num<0&&t>3){timer3=setTimeout(scrolltxt,interv2)}else if(num>0&&t<62){timer3=setTimeout(scrolltxt,interv2)}else{scton=0}};
var scrolltxt=function(){t+=num;span.style.marginTop=t+"px";if(num<0&&t>3){timer3=setTimeout(scrolltxt,interv2)}else if(num>0&&t<62){timer3=setTimeout(scrolltxt,interv2)}else{scton=0}};
fadeon();
fadeon();
}
}
-
//初始化
 
window.onload=function(){
window.onload=function(){
s1()
s1()

Revision as of 07:41, 14 July 2012

ZJU-China logo.png


Our wiki is under construction - come back soon for more project details!

This year, the ZJU-China iGEM team aims to design and realize a tunable RNA scaffold to accelerate biosynthesis pathways and turn their on and off. As one of the most vital biomacromolecules, RNA plays a crucial role not only in coding process, but also in non-coding one. RNA scaffold is designed to colocalize enzymes through interactions between binding domains on the scaffold and target peptides fused to each enzyme in engineered biosynthesis pathways in vivo, which may suffered from low efficiency of production caused by relative lack of spatial organization of non-homologous enzymes. The scaffold allows efficient channeling of substrates to products over several enzymatic steps by limiting the diffusion of intermediates thus providing a bright future for solving the problem. Meanwhile, we plan to add an aptamer structure on RNA scaffold as a riboswitch to regulate biosynthesis pathways by micromolecular ligands. Then we can control the all-or-none binding relationship between the enzymes and RNA scaffold by whether the special ligands are presented or not.
ZJU-China team.png

<script language="javascript" type="text/javascript"> var s1=function(){ var interv=2000; var interv2=10; var opac1=80; var source="fade_focus1" function getTag(tag,obj){if(obj==null){return document.getElementsByTagName(tag)}else{return obj.getElementsByTagName(tag)}} function getid(id){return document.getElementById(id)}; var opac=0,j=0,t=63,num,scton=0,timer,timer2,timer3;var id=getid(source);id.removeChild(getTag("div",id)[0]);var li=getTag("li",id);var div=document.createElement("div");var title=document.createElement("div");var span=document.createElement("span");var button=document.createElement("div");button.className="button";for(var i=0;i<li.length;i++){var a=document.createElement("a");a.innerHTML=i+1;a.onclick=function(){clearTimeout(timer);clearTimeout(timer2);clearTimeout(timer3);j=parseInt(this.innerHTML)-1;scton=0;t=63;opac=0;fadeon();};a.className="b1";a.onmouseover=function(){this.className="b2"};a.onmouseout=function(){this.className="b1";sc(j)};button.appendChild(a);} function alpha(obj,n){if(document.all){obj.style.filter="alpha(opacity="+n+")";}else{obj.style.opacity=(n/100);}} function sc(n){for(var i=0;i<li.length;i++){button.childNodes[i].className="b1"};button.childNodes[n].className="b2";} title.className="num_list";title.appendChild(span);alpha(title,opac1);id.className="d1";div.className="d2";id.appendChild(div);id.appendChild(title);id.appendChild(button); var fadeon=function(){opac+=5;div.innerHTML=li[j].innerHTML;span.innerHTML=getTag("img",li[j])[0].alt;alpha(div,opac);if(scton==0){sc(j);num=-2;scrolltxt();scton=1};if(opac<100){timer=setTimeout(fadeon,interv2)}else{timer2=setTimeout(fadeout,interv);};} var fadeout=function(){opac-=5;div.innerHTML=li[j].innerHTML;alpha(div,opac);if(scton==0){num=2;scrolltxt();scton=1};if(opac>0){timer=setTimeout(fadeout,interv2)}else{if(j<li.length-1){j++}else{j=0};fadeon()};} var scrolltxt=function(){t+=num;span.style.marginTop=t+"px";if(num<0&&t>3){timer3=setTimeout(scrolltxt,interv2)}else if(num>0&&t<62){timer3=setTimeout(scrolltxt,interv2)}else{scton=0}}; fadeon(); } window.onload=function(){ s1() }; </script>

<a name="showproject1"> </a> Mesh Segmentation

The followings are the mesh segmentation results from my work of semi-supervised mesh co-segmentation and labeling:

Loading...
  • <a target="_blank"><img src="LAB_LOGO_2.jpg" width="800" height="550" alt="Results on the whole Princeton Benchmark" /></a>
  • <a target="_blank"><img src="LAB_LOGO_2.jpg" width="800" height="550" alt="Results on Ant" /></a>
  • <a target="_blank"><img src="LAB_LOGO_2.jpg" width="800" height="550" alt="Results on Bird" /></a>
  • <a target="_blank"><img src="LAB_LOGO_2.jpg" width="800" height="550" alt="Results on Hand" /></a>
  • <a target="_blank"><img src="LAB_LOGO_2.jpg" width="800" height="550" alt="Results on Fish" /></a>
  • <a target="_blank"><img src="LAB_LOGO_2.jpg" width="800" height="550" alt="Results on Human" /></a>