Team:Imperial College London/test3

From 2011.igem.org

(Difference between revisions)
 
(5 intermediate revisions not shown)
Line 1: Line 1:
{{:Team:Imperial_College_London/Templates/Header}}
{{:Team:Imperial_College_London/Templates/Header}}
<html>
<html>
-
<body>
+
<head>
 +
 
 +
<style type="text/css">
 +
 
 +
/*Example CSS for the two demo scrollers*/
 +
 
 +
#pscroller1{
 +
width: 930px;
 +
height: 120px;
 +
border: 1px solid #225323;
 +
padding: 0px;
 +
background-color: white;
 +
}
 +
 
 +
#pscroller1 a{
 +
color: #225323;
 +
}
 +
 
 +
#pscroller1 h2{
 +
color: #000000;
 +
font-style:italic;
 +
}
 +
 
 +
#pscroller1 h3{
 +
color: #225323;
 +
text-align:right;
 +
}
 +
 
 +
 
 +
.someclass{ //class to apply to your scroller(s) if desired
 +
}
 +
 
 +
</style>
 +
 
 +
<script type="text/javascript">
 +
 
 +
/*Example message arrays for the two demo scrollers*/
 +
 
 +
var pausecontent=new Array()
 +
pausecontent[0]='<h2>"Preventing soil erosion by increasing root mass is a novel approach."</h2><h3><a href="http://www.syngenta.com/country/uk/en/Pages/home.aspx/" target="_blank">Dr Stuart John Dunbar, Senior Syngenta Fellow</a></h3>'
 +
pausecontent[1]='<h2>"It is important to note that soil erosion is a world-wide issue and, as such, preventing it or at least helping ameliorate it, would have world-wide impact."</h2><h3><a href="http://www.syngenta.com/country/uk/en/Pages/home.aspx/" target="_blank">Dr Stuart John Dunbar, Senior Syngenta Fellow</a></h3>'
 +
pausecontent[2]='<h2>"I must say I’m impressed with the idea of your group."</h2><h3><a href="http://www.syngenta.com/country/uk/en/Pages/home.aspx/" target="_blank">Mathijs Wuts, Syngenta</a></h3>'
 +
 
 +
</script>
-
<p><script type="text/javascript">
+
<script type="text/javascript">
/***********************************************
/***********************************************
-
* Fading Scroller- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
+
* Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* This notice MUST stay intact for legal use
-
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
+
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
***********************************************/
-
var delay = 2000; //set delay between message change (in miliseconds)
+
function pausescroller(content, divId, divClass, delay){
-
var maxsteps=30; // number of steps to take to change from start color to endcolor
+
this.content=content //message array content
-
var stepdelay=40; // time in miliseconds of a single step
+
this.tickerid=divId //ID of ticker div to display information
-
//**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect
+
this.delay=delay //Delay between msg change, in miliseconds.
-
var startcolor= new Array(255,255,255); // start color (red, green, blue)
+
this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)
-
var endcolor=new Array(0,0,0); // end color (red, green, blue)
+
this.hiddendivpointer=1 //index of message array for hidden div
 +
document.write('<div id="'+divId+'" class="'+divClass+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%" id="'+divId+'1">'+content[0]+'</div><div class="innerDiv" style="position: absolute; width: 100%; visibility: hidden" id="'+divId+'2">'+content[1]+'</div></div>')
 +
var scrollerinstance=this
 +
if (window.addEventListener) //run onload in DOM2 browsers
 +
window.addEventListener("load", function(){scrollerinstance.initialize()}, false)
 +
else if (window.attachEvent) //run onload in IE5.5+
 +
window.attachEvent("onload", function(){scrollerinstance.initialize()})
 +
else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec
 +
setTimeout(function(){scrollerinstance.initialize()}, 500)
 +
}
-
var fcontent=new Array();
+
// -------------------------------------------------------------------
-
begintag='<div style="font: normal 14px Arial; padding: 5px;">'; //set opening tag, such as font declarations
+
// initialize()- Initialize scroller method.
-
fcontent[0]="<b>What\'s new?</b><br>New scripts added to the Scroller category!<br><br>The MoreZone has been updated. <a href='../morezone/index.htm'>Click here to visit</a>";
+
// -Get div objects, set initial positions, start up down animation
-
fcontent[1]="Dynamic Drive has been featured on Jars as a top 5% resource, and About.com as a recommended DHTML destination.";
+
// -------------------------------------------------------------------
-
fcontent[2]="Ok, enough with these pointless messages. You get the idea behind this script.</a>";
+
-
closetag='</div>';
+
-
var fwidth='150px'; //set scroller width
+
pausescroller.prototype.initialize=function(){
-
var fheight='150px'; //set scroller height
+
this.tickerdiv=document.getElementById(this.tickerid)
 +
this.visiblediv=document.getElementById(this.tickerid+"1")
 +
this.hiddendiv=document.getElementById(this.tickerid+"2")
 +
this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))
 +
//set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2)
 +
this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px"
 +
this.getinline(this.visiblediv, this.hiddendiv)
 +
this.hiddendiv.style.visibility="visible"
 +
var scrollerinstance=this
 +
document.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1}
 +
document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0}
 +
if (window.attachEvent) //Clean up loose references in IE
 +
window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null})
 +
setTimeout(function(){scrollerinstance.animateup()}, this.delay)
 +
}
-
var fadelinks=1;  //should links inside scroller content also fade like text? 0 for no, 1 for yes.
 
-
///No need to edit below this line/////////////////
+
// -------------------------------------------------------------------
 +
// animateup()- Move the two inner divs of the scroller up and in sync
 +
// -------------------------------------------------------------------
 +
pausescroller.prototype.animateup=function(){
 +
var scrollerinstance=this
 +
if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){
 +
this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px"
 +
this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px"
 +
setTimeout(function(){scrollerinstance.animateup()}, 50)
 +
}
 +
else{
 +
this.getinline(this.hiddendiv, this.visiblediv)
 +
this.swapdivs()
 +
setTimeout(function(){scrollerinstance.setmessage()}, this.delay)
 +
}
 +
}
-
var ie4=document.all&&!document.getElementById;
+
// -------------------------------------------------------------------
-
var DOM2=document.getElementById;
+
// swapdivs()- Swap between which is the visible and which is the hidden div
-
var faderdelay=0;
+
// -------------------------------------------------------------------
-
var index=0;
+
 +
pausescroller.prototype.swapdivs=function(){
 +
var tempcontainer=this.visiblediv
 +
this.visiblediv=this.hiddendiv
 +
this.hiddendiv=tempcontainer
 +
}
-
/*Rafael Raposo edited function*/
+
pausescroller.prototype.getinline=function(div1, div2){
-
//function to change content
+
div1.style.top=this.visibledivtop+"px"
-
function changecontent(){
+
div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"
-
  if (index>=fcontent.length)
+
-
    index=0
+
-
  if (DOM2){
+
-
    document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")"
+
-
    document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
+
-
    if (fadelinks)
+
-
      linkcolorchange(1);
+
-
    colorfade(1, 15);
+
-
  }
+
-
  else if (ie4)
+
-
    document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag;
+
-
  index++
+
}
}
-
// colorfade() partially by Marcio Galli for Netscape Communications.  ////////////
+
// -------------------------------------------------------------------
-
// Modified by Dynamicdrive.com
+
// setmessage()- Populate the hidden div with the next message before it's visible
 +
// -------------------------------------------------------------------
-
function linkcolorchange(step){
+
pausescroller.prototype.setmessage=function(){
-
  var obj=document.getElementById("fscroller").getElementsByTagName("A");
+
var scrollerinstance=this
-
  if (obj.length>0){
+
if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)
-
    for (i=0;i<obj.length;i++)
+
setTimeout(function(){scrollerinstance.setmessage()}, 100)
-
      obj[i].style.color=getstepcolor(step);
+
else{
-
  }
+
var i=this.hiddendivpointer
 +
var ceiling=this.content.length
 +
this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1
 +
this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]
 +
this.animateup()
}
}
-
 
-
/*Rafael Raposo edited function*/
 
-
var fadecounter;
 
-
function colorfade(step) {
 
-
  if(step<=maxsteps) {
 
-
    document.getElementById("fscroller").style.color=getstepcolor(step);
 
-
    if (fadelinks)
 
-
      linkcolorchange(step);
 
-
    step++;
 
-
    fadecounter=setTimeout("colorfade("+step+")",stepdelay);
 
-
  }else{
 
-
    clearTimeout(fadecounter);
 
-
    document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")";
 
-
    setTimeout("changecontent()", delay);
 
-
 
-
  } 
 
}
}
-
/*Rafael Raposo's new function*/
+
pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if any
-
function getstepcolor(step) {
+
if (tickerobj.currentStyle)
-
  var diff
+
return tickerobj.currentStyle["paddingTop"]
-
  var newcolor=new Array(3);
+
else if (window.getComputedStyle) //if DOM2
-
  for(var i=0;i<3;i++) {
+
return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")
-
    diff = (startcolor[i]-endcolor[i]);
+
else
-
    if(diff > 0) {
+
return 0
-
      newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step);
+
-
    } else {
+
-
      newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step);
+
-
    }
+
-
  }
+
-
  return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")");
+
}
}
-
if (ie4||DOM2)
+
</script>
-
  document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+';height:'+fheight+'"></div>');
+
-
if (window.addEventListener)
+
</head>
-
window.addEventListener("load", changecontent, false)
+
<body>
-
else if (window.attachEvent)
+
 
-
window.attachEvent("onload", changecontent)
+
<table width="975px">
-
else if (document.getElementById)
+
 
-
window.onload=changecontent
+
<tr>
 +
<td colspan="2">
 +
<h1 style="text-align:center;">Welcome to the Imperial College London iGEM 2011 website</h1><br><br>
 +
</td>
 +
</tr>
 +
 
 +
<tr valign="top">
 +
<td style="width:688px;">
 +
<h1>Project Outline</h1>
 +
<p><b>Engineering bacteria to help fight soil erosion</b></p>
 +
<p>In arid areas of the world soil erosion is a massive problem. It is caused by wind and rain sweeping away the fertile top soil and can eventually result in <i>desertification</i>.</p>
 +
 
 +
<p>Climate change and unsustainable farming practices are accelerating the rate of desertification to over 31,000 hectares/day. That’s 62, 000 football pitches in a day or half the size of the UK every year.</p>
 +
 
 +
<p>In ordinary circumstances the roots of well established plants help to hold down the top soil, protecting it from erosion. In areas that suffer desertification however plants do not get the chance to establish large enough root networks to anchor the soil and themselves before erosion occurs.</p>
 +
 
 +
<p>This year, Imperial College’s iGEM team have joined the international effort to fight desertification.</p>
 +
 
 +
<p>We hope to engineer bacteria to accelerate plant root development. The bacteria will be designed to secrete the hormone auxin. Seeds will be coated with the bacteria and then planted in the soil. Once the seeds germinate the bacteria will move towards the roots and be taken in by the plant. Inside the roots the bacteria will release auxin – promoting growth and protecting the soil from erosion.</p>
 +
 
 +
<h1>Modules</h1>
 +
<p>Our project consists of 3 modules: Phyto-Route, Auxin Xpress and Gene Guard.</p>
 +
<p>Computer graphics of summary of modules</p>
 +
 
 +
<h1>The Engineering Cycle</h1>
 +
<p>Each module is carried out following the engineering cylcle shown below.</p>
 +
<p style="padding-left:19px;padding-right:0px;"><embed src="https://static.igem.org/mediawiki/igem.org/3/33/ICL_EngineeringCycle.swf" width="646px" height="381.18px" /><p>
 +
</td>
 +
 
 +
<td style="width:287px;">
 +
 
 +
<h2 style="padding-left:0px;">Follow us on</h2>
 +
<a href="http://www.flickr.com/photos/64732447@N05/" target="_new"><img src="https://static.igem.org/mediawiki/2011/d/d7/ICL_flickr.png" /></a>
 +
<a href="http://twitter.com/#!/ImperialiGEM11" target="_new"><img src="https://static.igem.org/mediawiki/2011/d/d7/ICL_twitter.png" /></a>
 +
<a href="http://imperialigem.blogspot.com/" target="_new"><img src="https://static.igem.org/mediawiki/2011/7/7d/ICL_blogger.png" /></a>
 +
<a href="http://www.youtube.com/user/ImperialiGEM" target="_new"><img src="https://static.igem.org/mediawiki/2011/d/d3/ICL_youtube.png" /></a>
 +
<a href="http://www.spreaker.com/page#!/show/the_radio_igem_show" target="_new"><img src="https://static.igem.org/mediawiki/2011/b/b3/ICL_RadioLogo.jpg" width="48px" /></a>
 +
 
 +
<br/><br/>
 +
<object width="300" height="330"><param name="wmode" value="transparent" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://staticcdn.spreaker.com/swf/player.swf?API_BASE_URL=http%3A%2F%2Fapi.spreaker.com&SITE_BASE_URL=http%3A%2F%2Fwww.spreaker.com&CHAT_BASE_URL=http%3A%2F%2Fpush.spreaker.com&STATION_URL=http%3A%2F%2Fapi.spreaker.com%2Fshow%2F180289%2Fepisode%2Flatest&AUTOPLAY=false&EXTERNAL_INTERFACE=false&DEBUG=false&REFERRER=embedded&EMBEDDED=true" /><embed src="http://staticcdn.spreaker.com/swf/player.swf?API_BASE_URL=http%3A%2F%2Fapi.spreaker.com&SITE_BASE_URL=http%3A%2F%2Fwww.spreaker.com&CHAT_BASE_URL=http%3A%2F%2Fpush.spreaker.com&STATION_URL=http%3A%2F%2Fapi.spreaker.com%2Fshow%2F180289%2Fepisode%2Flatest&AUTOPLAY=false&EXTERNAL_INTERFACE=false&DEBUG=false&REFERRER=embedded&EMBEDDED=true" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" wmode="transparent" width="300" height="330"></embed></object>
 +
 
 +
<br/><br/>
 +
<a href="http://s07.flagcounter.com/more/ivzl"><img src="http://s07.flagcounter.com/count/ivzl/bg_FFFFFF/txt_225323/border_225323/columns_4/maxflags_12/viewers_0/labels_0/pageviews_0/flags_0/" alt="Free counters!" border="0"></a>
 +
 
 +
</td>
 +
</tr>
 +
 
 +
<tr>
 +
<td>
 +
 
 +
</td>
 +
</tr>
 +
 
 +
<tr>
 +
<td colspan="2" style="padding:18px;padding-right:0px;">
 +
 
 +
<p><img src="https://static.igem.org/mediawiki/2011/5/5d/ICL_Modules.png" width="623px" height="623px" /><p>
 +
 
 +
<script type="text/javascript">
 +
 
 +
//new pausescroller(name_of_message_array, CSS_ID, CSS_classname, pause_in_miliseconds)
 +
 
 +
new pausescroller(pausecontent, "pscroller1", "someclass", 5000)
</script>
</script>
 +
</td>
 +
</tr>
 +
</table>
 +
 +
<h1>Sponsors</h1>
 +
<table width="975px" cellpadding="0px">
 +
<tr>
 +
<td>
 +
<p>
 +
<a href="http://www.wellcome.ac.uk/" target="_new">
 +
<img src="https://static.igem.org/mediawiki/2011/d/d2/ICL_WellcomeTrust.gif" width="230" />
 +
</a>
 +
<a href="http://www.eurofinsdna.com" target="_new">
 +
<img src="https://static.igem.org/mediawiki/2011/0/00/ICL_Eurofins.jpg" width="230" style="padding-left:30px;" />
 +
</a>
 +
<a href="http://www.neb.com" target="_new">
 +
<img src="https://static.igem.org/mediawiki/2011/4/4d/ICL_NEB.jpg" width="230" style="padding-left:20px;" />
 +
</a>
 +
<a href="http://www.qiagen.com" target="_new">
 +
<img src="https://static.igem.org/mediawiki/2011/8/80/ICL_Qiagen.jpg" width="130" style="padding-left:20px;" />
 +
</a>
</p>
</p>
 +
</td>
 +
</tr>
 +
</table>
</body>
</body>
</html>
</html>

Latest revision as of 13:59, 12 September 2011



Welcome to the Imperial College London iGEM 2011 website



Project Outline

Engineering bacteria to help fight soil erosion

In arid areas of the world soil erosion is a massive problem. It is caused by wind and rain sweeping away the fertile top soil and can eventually result in desertification.

Climate change and unsustainable farming practices are accelerating the rate of desertification to over 31,000 hectares/day. That’s 62, 000 football pitches in a day or half the size of the UK every year.

In ordinary circumstances the roots of well established plants help to hold down the top soil, protecting it from erosion. In areas that suffer desertification however plants do not get the chance to establish large enough root networks to anchor the soil and themselves before erosion occurs.

This year, Imperial College’s iGEM team have joined the international effort to fight desertification.

We hope to engineer bacteria to accelerate plant root development. The bacteria will be designed to secrete the hormone auxin. Seeds will be coated with the bacteria and then planted in the soil. Once the seeds germinate the bacteria will move towards the roots and be taken in by the plant. Inside the roots the bacteria will release auxin – promoting growth and protecting the soil from erosion.

Modules

Our project consists of 3 modules: Phyto-Route, Auxin Xpress and Gene Guard.

Computer graphics of summary of modules

The Engineering Cycle

Each module is carried out following the engineering cylcle shown below.

Follow us on





Free counters!

Sponsors