Team:Tsinghua/try
From 2010.igem.org
Line 28: | Line 28: | ||
<table id="toc" class="toc" summary="Contents"><tr><td><div id="toctitle"><h2>Contents</h2></div> | <table id="toc" class="toc" summary="Contents"><tr><td><div id="toctitle"><h2>Contents</h2></div> | ||
<ul> | <ul> | ||
- | <li class="toclevel-1"><a href="# | + | <li class="toclevel-1"><a href="#Tsinghua University"><span class="tocnumber">1</span> <span class="toctext">About Tsinghua University</span></a></li> |
- | <li class="toclevel-1"><a href="# | + | <li class="toclevel-1"><a href="#Our Team"><span class="tocnumber">2</span> <span class="toctext">About Our Team</span></a> |
+ | <li class="toclevel-1"><a href="#Contact us"><span class="tocnumber">2</span> <span class="toctext">Contact us</span></a> | ||
<ul> | <ul> | ||
<li class="toclevel-2"><a href="#Part_2"><span class="tocnumber">2.1</span> <span class="toctext">Part 2</span></a></li> | <li class="toclevel-2"><a href="#Part_2"><span class="tocnumber">2.1</span> <span class="toctext">Part 2</span></a></li> |
Revision as of 13:27, 14 August 2010
<script> function Ok_OnClick(event) { if(document.getElementsByName("textName")[0].value == ""){ alert("请输入内容"); return; }//getElementById var table; var tableList = document.getElementsByTagName("TABLE"); for(var i = 0 ; i < tableList.length ; i++) { if(tableList[i].name == "tableName") { table = tableList[i] break; } } var value = document.getElementsByName("textName")[0].value; var index = table.rows.length; table.insertRow(index); table.rows(index).insertCell(0); table.rows(index).cells(0).innerText = value; document.getElementsByName("textName")[0].value = ""; } </script>
Contents |
Until the Jamboree: 载入天数...载入秒数...
[url=http://www3.clustrmaps.com/user/19fbb75c][img]http://www3.clustrmaps.com/stats/maps-no_clusters/2010.igem.org-Team-Tsinghua-thumb.jpg[/img][/url]
<script> function Ok_OnClick(event) { if(document.getElementsByName("textName")[0].value == ""){ alert("请输入内容"); return; }//getElementById var table; var tableList = document.getElementsByTagName("TABLE"); for(var i = 0 ; i < tableList.length ; i++) { if(tableList[i].name == "tableName") { table = tableList[i] break; } } var value = document.getElementsByName("textName")[0].value; var index = table.rows.length; table.insertRow(index); table.rows(index).insertCell(0); table.rows(index).cells(0).innerText = value; document.getElementsByName("textName")[0].value = ""; } </script>
留言版 | |||
---|---|---|---|
jdifew |