Team:USTC-China/Team/gallarytry

From 2011.igem.org

(Difference between revisions)
Line 100: Line 100:
   });
   });
-
    $('area').click(function () {
 
-
  $('#'+name+'pic').slideToggle('slow');
 
-
    var name = $(this).attr('id');
 
-
  // n=parseInt(name);
 
-
    //$('#'+(name-1)+'pic').slideToggle('slow');
 
-
    $('#'+name+'pic').slideToggle('slow');   
 
-
  });
 
-
});
 
-
function writeText(txt)
 
-
{
 
-
document.getElementById("desc").innerHTML=txt
 
-
}
 
</script>
</script>
</head>
</head>
Line 131: Line 119:
<div class="pic" id="2pic">
<div class="pic" id="2pic">
<h1>Yinghong Lan</h1>
<h1>Yinghong Lan</h1>
-
<img src="https://static.igem.org/mediawiki/2011/2/2b/%E5%9B%BE%E7%89%87%E4%B8%89.jpg" style="max-width:350px; margin-right:10px;" alt="" usemap="#maps" name=”aa”/>
+
<img src="https://static.igem.org/mediawiki/2011/2/2b/%E5%9B%BE%E7%89%87%E4%B8%89.jpg" style="max-width:350px; margin-right:10px;"/>
-
<map id ="maps" name="maps">
 
-
 
-
<area shape ="rect" coords ="0,0,400,400"
 
-
onMouseDown="mouseDown2()"
 
-
onMouseOver="writeText('Previous')"
 
-
onMouseOut="writeText(' ')"
 
-
href ="" alt="" >
 
-
<area/>
 
-
 
-
<area shape ="rect" coords ="0,0,800,400"
 
-
onMouseDown="mouseDown1()"
 
-
onMouseOver="writeText('Next')"
 
-
onMouseOut="writeText(' ')"
 
-
href =""alt="" >
 
-
<area/>
 
-
</map>
 
-
<p id="desc"></p>
 
<div class="clear"></div>
<div class="clear"></div>
</div>
</div>

Revision as of 11:43, 26 August 2011

Yinghong Lan

Yinghong Lan