Team:ZJU-China/aboutus.htm
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html xmlns="http://www.w3.org/1999/xhtml" class="cufon-active cufon-ready"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | <html xmlns="http://www.w3.org/1999/xhtml" class="cufon-active cufon-ready"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
+ | |||
+ | <meta name="generator" content="jemdoc, see http://jemdoc.jaboc.net/"> | ||
+ | |||
+ | <link rel="stylesheet" href="http://www.jiajunlu.com/Jiajun Lu_files/jemdoc.css" type="text/css"> | ||
<title>ABOUT US</title> | <title>ABOUT US</title> | ||
Line 206: | Line 210: | ||
}); | }); | ||
</script> | </script> | ||
+ | |||
+ | |||
+ | |||
+ | <style type="text/css" media="all"> | ||
+ | .d1{width:830px;height:auto;overflow:hidden;border:#666666 2px solid;background-color:#000000;position:relative;} | ||
+ | .loading{width:830px;border:#666666 2px solid;background-color:#000000;color:#FFCC00;font-size:12px;height:550px;text-align:center;padding-top:30px;font-family:Verdana, Arial, Helvetica, sans-serif;font-weight:bold;} | ||
+ | .d2{width:100%;height:600px;overflow:hidden;} | ||
+ | .num_list{position:absolute;width:100%;left:0px;bottom:-1px;background-color:#000000;color:#FFFFFF;font-size:12px;padding:4px 0px;height:20px;overflow:hidden;} | ||
+ | .num_list span{display:inline-block;height:16px;padding-left:6px;} | ||
+ | img{border:0px;} | ||
+ | .button{position:absolute; z-index:1000; right:0px; bottom:2px; font-size:13px; font-weight:bold; font-family:Arial, Helvetica, sans-serif;} | ||
+ | .b1,.b2{background-color:#666666;display:block;float:left;padding:2px 6px;margin-right:3px;color:#FFFFFF;text-decoration:none;cursor:pointer;} | ||
+ | .b2{color:#FFCC33;background-color:#FF6633;} | ||
+ | </style> | ||
+ | |||
+ | <script language="javascript" type="text/javascript"> | ||
+ | //主函数 | ||
+ | var s1=function(){ | ||
+ | var interv=2000; //切换间隔时间 | ||
+ | var interv2=10; //切换速速 | ||
+ | var opac1=80; //文字背景的透明度 | ||
+ | var source="fade_focus1" //焦点轮换图片容器的id名称 | ||
+ | //获取对象 | ||
+ | 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> | ||
+ | |||
+ | |||
+ | |||
<script type="text/javascript" src="http://www.jiajunlu.com/igem/my.js"></script> | <script type="text/javascript" src="http://www.jiajunlu.com/igem/my.js"></script> | ||
<script src="http://www.jiajunlu.com/igem/slide.js" type="text/javascript"></script> | <script src="http://www.jiajunlu.com/igem/slide.js" type="text/javascript"></script> | ||
Line 252: | Line 303: | ||
<li class="3"><a href="https://2012.igem.org/Team:ZJU-China/project.htm"><img src="http://www.jiajunlu.com/igem/project_btn.gif"></a></li> | <li class="3"><a href="https://2012.igem.org/Team:ZJU-China/project.htm"><img src="http://www.jiajunlu.com/igem/project_btn.gif"></a></li> | ||
<li class="divline"></li> | <li class="divline"></li> | ||
- | <li class="4"><a href="https://2012.igem.org/Team:ZJU-China/ | + | <li class="4"><a href="https://2012.igem.org/Team:ZJU-China/models.htm"><img src="http://www.jiajunlu.com/igem/Zju_models_btn.gif"></a></li> |
<li class="divline"></li> | <li class="divline"></li> | ||
<li class="5"><a href="https://2012.igem.org/Team:ZJU-China/notebook.htm"><img src="http://www.jiajunlu.com/igem/notebook_btn.gif"></a></li> | <li class="5"><a href="https://2012.igem.org/Team:ZJU-China/notebook.htm"><img src="http://www.jiajunlu.com/igem/notebook_btn.gif"></a></li> | ||
Line 262: | Line 313: | ||
<li class="8"><a href="https://2012.igem.org/Team:ZJU-China/achievement.htm"><img src="http://www.jiajunlu.com/igem/achievement_btn.gif"></a></li> | <li class="8"><a href="https://2012.igem.org/Team:ZJU-China/achievement.htm"><img src="http://www.jiajunlu.com/igem/achievement_btn.gif"></a></li> | ||
<li class="divline"></li> | <li class="divline"></li> | ||
- | <li class="8"><a href="https://2012.igem.org | + | <li class="8"><a href="https://2012.igem.org"><img src="http://www.jiajunlu.com/igem/Zju_igem_btn.gif"></a></li> |
</ul> | </ul> | ||
Line 282: | Line 333: | ||
<p> </p> | <p> </p> | ||
<p>Here we want to show you a set of amazing photos shot by Gang Cheng, an alumnus of Zhejiang University.</p> | <p>Here we want to show you a set of amazing photos shot by Gang Cheng, an alumnus of Zhejiang University.</p> | ||
+ | |||
+ | <div id="fade_focus1"> | ||
+ | <div class="loading">Loading...<br /></div> | ||
+ | <ul> | ||
+ | <li><a target="_blank"><img src="http://www.jiajunlu.com/igem/zju_about1.jpg" width="830" height="600" alt="The gate of Yuquan and BG Tree" /></a></li> | ||
+ | <li><a target="_blank"><img src="http://www.jiajunlu.com/igem/zju_about2.jpg" width="830" height="600" alt="Chairman Mao with Gesture Like Calling a Taxi" /></a></li> | ||
+ | <li><a target="_blank"><img src="http://www.jiajunlu.com/igem/zju_about3.jpg" width="830" height="600" alt="One of Libraries" /></a></li> | ||
+ | <li><a target="_blank"><img src="http://www.jiajunlu.com/igem/zju_about4.jpg" width="830" height="600" alt="Lovely President Chu Kochen" /></a></li> | ||
+ | <li><a target="_blank"><img src="http://www.jiajunlu.com/igem/zju_about5.jpg" width="830" height="600" alt="Lovers' Slope" /></a></li> | ||
+ | <li><a target="_blank"><img src="http://www.jiajunlu.com/igem/zju_about6.jpg" width="830" height="600" alt="Square of Yongqian" /></a></li> | ||
+ | <li><a target="_blank"><img src="http://www.jiajunlu.com/igem/zju_about7.jpg" width="830" height="600" alt="One of Teaching Buildings of Long History" /></a></li> | ||
+ | <li><a target="_blank"><img src="http://www.jiajunlu.com/igem/zju_about8.jpg" width="830" height="600" alt="The Modern Zijingang" /></a></li> | ||
+ | <li><a target="_blank"><img src="http://www.jiajunlu.com/igem/zju_about8.jpg" width="830" height="600" alt="The Modern Zijingang" /></a></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | |||
+ | |||
</div><!-- end .block --> | </div><!-- end .block --> | ||
</div><!-- end .acc_container --> | </div><!-- end .acc_container --> | ||
Line 340: | Line 408: | ||
<!-- end .content --></div> | <!-- end .content --></div> | ||
- | + | ||
<!-- end .container --></div> | <!-- end .container --></div> | ||
</div><!-- end .wrapper --> | </div><!-- end .wrapper --> | ||
+ | |||
+ | <div><img src="https://static.igem.org/mediawiki/igem.org/d/d9/Zju_foot.png" width="100%"></div> | ||
+ | |||
<div id="footer"> | <div id="footer"> | ||
<div id="footerImg"> | <div id="footerImg"> |