Team:Tsinghua/try

From 2010.igem.org

(Difference between revisions)
Line 58: Line 58:
<div style="width:32px;height:32px;display:block;float:left;background-image:url(https://static.igem.org/mediawiki/2010/e/e7/Rss-32x32.png);"><a href="#" title="Tsinghua iGEM Team 2010 RSS" style="width:100%;height:100%;display:block;"></a></div>  
<div style="width:32px;height:32px;display:block;float:left;background-image:url(https://static.igem.org/mediawiki/2010/e/e7/Rss-32x32.png);"><a href="#" title="Tsinghua iGEM Team 2010 RSS" style="width:100%;height:100%;display:block;"></a></div>  
</div>
</div>
-
 
-
 
-
<head>
 
-
<bgsound src=112.mp3 loop="-1">
 
-
<embed src="http://www.hao99sf.com/112.mp3" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="1" height="1"></embed>
 
-
</head>
 
<br>
<br>
Line 230: Line 224:
document.getElementsByName("textName")[0].value = "";  
document.getElementsByName("textName")[0].value = "";  
}  
}  
-
</script
+
</script>
-
 
+
-
<HTML>
+
-
<HEAD>
+
-
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
+
-
<TITLE>留言版</TITLE>
+
-
<STYLE>
+
-
td{width:20%;height:20px;border-bottom:1px solid black;border-right:1px solid black;cursor:default;}
+
-
div{font-size:13px;}
+
-
th{height:20px;font-size:12px;font-weight:normal;border-bottom:2px solid black;background-color:#CCCCCC}
+
-
table{border:1px solid black;font-size:13px;}
+
-
</STYLE>
+
-
</HEAD>
+
-
 
+
-
<BODY oncontextmenu="return false;""> 
+
-
<TABLE name="tableName" width="70%" align="center" cellpadding="0" cellspacing="0"> 
+
-
<TR> 
+
-
<TH colspan="4" style="">留言版</TH> 
+
-
</TR> 
+
-
<TR> 
+
-
<TD>jdifew</TD> 
+
-
</TR> 
+
-
</TABLE> 
+
-
<BR>
+
-
<div align="center">
+
-
 
+
-
<textarea rows="2" name="textName" id="textId" cols="20"
+
-
style="width: 70%; clip: rect(0pt, 47pt, 18pt, 0pt); font-family: 宋体; font-size: 10pt; font-weight: normal; font-style: normal;text-align: left; vertical-align: middle; text-indent: 0; color: #000000; background-attachment: fixed; background-color: #EEEEEE; border: 1px solid #0xf8f8f8">
+
-
</textarea>
+
-
 
+
-
</div>
+
-
<BR>
+
-
<div align="center">
+
-
<input type="button" value="提交" onclick="return Ok_OnClick(window.event);"
+
-
style="align:center ; width:60 ; height: 21; clip: rect(0pt, 47pt, 18pt, 0pt); font-family: 宋体; font-size: 10pt; font-weight: normal; font-style: normal; cursor: hand; text-align: center; vertical-align: middle; text-indent: 0; color: #000000; background-attachment: fixed; background-color: #d8d8d8; border: 1px solid #59b4f7">
+
-
<!--position: absolute; left: 342; top: 184; -->             
+
-
</div>
+
-
 
+
-
 
+
-
 
+
-
</BODY> 
+
-
</HTML>
+

Revision as of 14:07, 26 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

Follow us on:




Until the Jamboree: 载入天数...载入秒数...




网页特效观止|JsCode.CN|---在您的网页里加入北京奥运倒计时的代码 距离北京奥运会开幕还有:
小时


Locations of visitors to this page

Locations of visitors to this page

[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>