Team:Tianjin
From 2008.igem.org
(Difference between revisions)
ZhangHaoran (Talk | contribs) |
ZhangHaoran (Talk | contribs) |
||
Line 1: | Line 1: | ||
- | <html > | + | <html> |
<!-- DW6 --> | <!-- DW6 --> | ||
<head> | <head> | ||
+ | <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> | ||
+ | <style type="text/css"> | ||
+ | <!-- | ||
+ | .STYLE1 { | ||
+ | color: #FFFFFF; | ||
+ | font-size: 24px; | ||
+ | font-family: "Times New Roman", Times, serif; | ||
+ | } | ||
+ | --> | ||
+ | </style> | ||
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. --> | <!-- Copyright 2005 Macromedia, Inc. All rights reserved. --> | ||
- | <title>Entertainment - | + | <title>Entertainment - Home Page</title> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<link rel="stylesheet" href="mm_entertainment.css" type="text/css" /> | <link rel="stylesheet" href="mm_entertainment.css" type="text/css" /> | ||
<style type="text/css"> | <style type="text/css"> | ||
<!-- | <!-- | ||
- | . | + | .STYLE1 { |
- | + | font-size: 36px; | |
+ | color: #99FFFF; | ||
+ | } | ||
.STYLE4 { | .STYLE4 { | ||
+ | font-family: "Times New Roman", Times, serif; | ||
+ | color: #FFFFFF; | ||
+ | font-size: 18px; | ||
+ | } | ||
+ | .STYLE17 {color: #03438A} | ||
+ | .STYLE21 { | ||
+ | font-family: "Times New Roman", Times, serif; | ||
+ | color: #FFFFFF; | ||
+ | font-weight: bold; | ||
font-size: 24px; | font-size: 24px; | ||
+ | } | ||
+ | .STYLE28 { | ||
+ | font-size: large; | ||
+ | font-family: "Kunstler Script"; | ||
+ | } | ||
+ | .STYLE32 { | ||
+ | color: #FFFFFF; | ||
+ | letter-spacing:.1em; | ||
+ | line-height:16px; | ||
+ | font: 16px georgia; | ||
+ | font-size: 24px; | ||
+ | } | ||
+ | .STYLE38 { | ||
+ | color: #FFFFFF; | ||
+ | letter-spacing: .1em; | ||
+ | line-height: 16px; | ||
+ | font: 16px georgia; | ||
+ | font-size: 18px; | ||
font-family: "Times New Roman", Times, serif; | font-family: "Times New Roman", Times, serif; | ||
+ | } | ||
+ | .STYLE39 { | ||
+ | font-size: 20px; | ||
+ | font-family: "Times New Roman", Times, serif; | ||
+ | color: #FF0000; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | .STYLE40 { | ||
+ | font-size: 24px; | ||
+ | font-weight: bold; | ||
color: #FFFFFF; | color: #FFFFFF; | ||
} | } | ||
- | . | + | .STYLE43 { |
- | + | font-size: 20px; | |
- | + | color: #00FFFF; | |
- | + | ||
- | + | ||
- | color: # | + | |
} | } | ||
- | |||
- | |||
a:link { | a:link { | ||
+ | text-decoration: none; | ||
color: #FFFFFF; | color: #FFFFFF; | ||
+ | } | ||
+ | a:visited { | ||
+ | text-decoration: none; | ||
+ | color: #FFFFFF; | ||
+ | } | ||
+ | a:hover { | ||
+ | text-decoration: underline; | ||
+ | color: #00FF00; | ||
} | } | ||
a:active { | a:active { | ||
- | color: # | + | text-decoration: none; |
+ | color: #FF0000; | ||
+ | } | ||
+ | .STYLE45 {color: #FF0000} | ||
+ | .STYLE46 { | ||
+ | font-family: "Times New Roman", Times, serif; | ||
+ | color: #FFFFFF; | ||
+ | } | ||
+ | .STYLE68 {color: #FFFFFF; } | ||
+ | .STYLE70 {font-size: 18px; font-family: "Times New Roman", Times, serif;} | ||
+ | .STYLE71 { | ||
+ | font-family: "Times New Roman", Times, serif; | ||
+ | font-size: 24px; | ||
+ | color: #E2F4F5; | ||
} | } | ||
- | . | + | .STYLE77 {font-size: 18px; font-family: "Times New Roman", Times, serif; color: #E2F4F5; } |
+ | .STYLE78 {font-family: "Times New Roman", Times, serif; font-size: 24px; color: #F0FFFC; } | ||
--> | --> | ||
</style> | </style> | ||
+ | <script type="text/JavaScript"> | ||
+ | <!-- | ||
+ | function MM_swapImgRestore() { //v3.0 | ||
+ | var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; | ||
+ | } | ||
+ | |||
+ | function MM_preloadImages() { //v3.0 | ||
+ | var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); | ||
+ | var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) | ||
+ | if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} | ||
+ | } | ||
+ | |||
+ | function MM_findObj(n, d) { //v4.01 | ||
+ | var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { | ||
+ | d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} | ||
+ | if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; | ||
+ | for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); | ||
+ | if(!x && d.getElementById) x=d.getElementById(n); return x; | ||
+ | } | ||
+ | |||
+ | function MM_swapImage() { //v3.0 | ||
+ | var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) | ||
+ | if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} | ||
+ | } | ||
+ | //--> | ||
+ | </script> | ||
</head> | </head> | ||
- | <body bgcolor="#14285f"> | + | <body bgcolor="#14285f" onLoad="MM_preloadImages('https://static.igem.org/mediawiki/2008/e/e6/9lou.jpg')"> |
- | <table width=" | + | <table width="940" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#03438A" bgcolor="#03438A"> |
<tr bgcolor="02021e"> | <tr bgcolor="02021e"> | ||
- | <td | + | <td height="126" colspan="7" nowrap="nowrap" bgcolor="#03438A"><table width="843" border="1" bordercolor="#03438A" bgcolor="#03438A"> |
- | + | <tr> | |
- | + | <td width="423"><img src="https://static.igem.org/mediawiki/igem.org/2/28/Logonew2.jpg" width="430" height="123" /></td> | |
- | + | <td width="326"><img src="https://static.igem.org/mediawiki/2008/f/fc/Logonew1.jpg" width="314" height="123"></td> | |
- | + | <td width="72"><img src="https://static.igem.org/mediawiki/2008/f/fe/Untitled-1.gif" width="141" height="123"></td> | |
- | + | </tr> | |
- | <td width=" | + | </table> </td> |
+ | <td width="21" bgcolor="#03438A">f</td> | ||
</tr> | </tr> | ||
+ | |||
<tr> | <tr> | ||
- | <td colspan=" | + | <td colspan="8" bgcolor="#03438A"><img src="mm_spacer.gif" alt="" width="1" height="2" border="0" /></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td colspan=" | + | <td colspan="8" bgcolor="#03438A"><img src="mm_spacer.gif" alt="" width="1" height="2" border="0" /></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td colspan=" | + | <td colspan="8" bgcolor="#03438A"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td colspan=" | + | <td height="31" colspan="8" bgcolor="#03438A"> |
- | + | <table width="935" height="26" border="0" bordercolor="#03438A" bgcolor="#03438A"> | |
- | < | + | <tr> |
- | + | <td width="929" bordercolor="#03438A" bgcolor="#03438A"><script LANGUAGE="JavaScript1.2"> | |
+ | <!-- Begin | ||
+ | function initArray() { | ||
+ | this.length = initArray.arguments.length; | ||
+ | for (var i = 0; i < this.length; i++) { | ||
+ | this[i] = initArray.arguments[i]; | ||
+ | } | ||
+ | } | ||
+ | var ctext = "=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Welcome to Our Tianjin University's wiki! =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*="; | ||
+ | var speed = 1 | ||
+ | var x = 0; | ||
+ | var color = new initArray( | ||
+ | //改变下面的颜色。 | ||
+ | "#FF0000", | ||
+ | "#FF6600", | ||
+ | "#FFFF00", | ||
+ | "#33FF33", | ||
+ | "#00CCFF", | ||
+ | "#0033FF", | ||
+ | "#6600CC", | ||
+ | "#0033FF", | ||
+ | "#00CCFF", | ||
+ | "#33FF33", | ||
+ | "#FFFF00", | ||
+ | "#FF6600", | ||
+ | "#FF0000" | ||
+ | ); | ||
+ | if(navigator.appName == "Netscape") { | ||
+ | document.write('<layer id="c"><center>'+ctext+'</center></layer><br>'); | ||
+ | } | ||
+ | if (navigator.appVersion.indexOf("MSIE") != -1){ | ||
+ | document.write('<div id="c"><center>'+ctext+'</center></div>'); | ||
+ | } | ||
+ | function chcolor(){ | ||
+ | if(navigator.appName == "Netscape") { | ||
+ | document.c.document.write('<center><font color="'+color[x]); | ||
+ | document.c.document.write('">'+ctext+'</font></center>'); | ||
+ | document.c.document.close(); | ||
+ | } | ||
+ | else if (navigator.appVersion.indexOf("MSIE") != -1){ | ||
+ | document.all.c.style.color = color[x]; | ||
+ | } | ||
+ | (x < color.length-1) ? x++ : x = 0; | ||
+ | } | ||
+ | setInterval("chcolor()",100); | ||
+ | // End --> | ||
+ | </script></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br /> </td> | ||
+ | </tr> | ||
<tr> | <tr> | ||
- | + | <td width="252" height="370" valign="top" bgcolor="#03438A"> | |
- | + | <p class="STYLE28"> </p> | |
- | <table border="0" | + | <table width="189" height="296" border="0" align="center" cellpadding="1" cellspacing="4" bgcolor="#0066FF" class="xmenu" id="xmenu0"> |
+ | <tr> | ||
+ | <td><div align="center" class="STYLE21"><a href="https://2008.igem.org/Team:Tianjin">Home</a></div></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td><div align="center"><strong><span class="STYLE21"><a href="https://2008.igem.org/wiki/index.php?title=Team&action=edit">Team</a></span></strong></div></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td><div align="center" class="STYLE21"><a href="https://2008.igem.org/Project">Project</a></div></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td><div align="center" class="STYLE21"><a href="https://2008.igem.org/Experiment">Experiment</a></div></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td><div align="center"><strong><span class="STYLE21"><a href="https://2008.igem.org/wiki/index.php?title=Modle&action=edit">Modle</a></span></strong></div></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td><div align="center"><strong><span class="STYLE21"><a href="https://2008.igem.org/wiki/index.php?title=Contact_us&action=edit">Contact</a></span></strong></div></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <p> </p> | ||
+ | <table width="242" height="444" border="1" bordercolor="#03438A"> | ||
+ | <tr> | ||
+ | <td width="247" nowrap bordercolor="#03438A" bgcolor="#03438A"><img src="https://static.igem.org/mediawiki/2008/f/f0/W020070619529884082133.jpg" width="222" height="110" align="right"></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td nowrap bordercolor="#03438A" bgcolor="#03438A"><div align="center" class="STYLE40"><a href="http://www.tju.edu.cn/" class="STYLE46">Tianjin University</a> </div></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td bordercolor="#03438A" bgcolor="#03438A"><p><span class="STYLE17">aaa</span><img src="https://static.igem.org/mediawiki/2008/1/17/QQ%E6%88%AA%E5%9B%BE%E6%9C%AA%E5%91%BD%E5%90%8D1.jpg" width="200" height="90"></p> </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td bordercolor="#03438A" bgcolor="#03438A"><div align="center"><span class="STYLE43"><a href="http://tubic.tju.edu.cn/"><span class="STYLE46">Welcome to <strong>TUBIC</strong></span></a></span></div></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td bordercolor="#03438A" bgcolor="#03438A"><span class="STYLE17">aaaaaaaa</span><img src="https://static.igem.org/mediawiki/2008/a/a6/QQ截图未命名2.jpg" width="123" height="126"></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td bordercolor="#03438A" bgcolor="#03438A"><div align="center" class="STYLE39"><a href="http://tubic.tju.edu.cn/" class="STYLE45">Yao Hua High School</a> </div></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <p> </p></td> | ||
+ | <td width="1" bgcolor="#03438A"><img src="mm_spacer.gif" alt="" width="1" height="1" border="0" /></td> | ||
+ | <td width="7" bgcolor="#03438A"> </td> | ||
+ | <td colspan="2" valign="top" bgcolor="#03438A"><img src="mm_spacer.gif" alt="" width="304" height="1" border="0" /><br /> | ||
+ | <table width="304" height="932" border="0" cellpadding="0" cellspacing="0" bordercolor="#0000FF"> | ||
<tr> | <tr> | ||
- | <td height=" | + | <td height="41" nowrap bgcolor="#03438A" class="pageName"><span class="STYLE21">Welcome Tianjin University</span></td> |
</tr> | </tr> | ||
- | + | <tr> | |
- | <td | + | <td height="623" bgcolor="#03438A" class="bodyText"><p class="STYLE4">Last year, the innovative design of genetic bio diode and RS flip-flock successfully brought us back a gold medal from iGEM. And for 2008, we will come around with a synthetic bistable ecosystem and a foolproof self-assembly gene device. </p> |
- | + | <p class="STYLE32"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','https://static.igem.org/mediawiki/2008/e/e6/9lou.jpg',1)"><img src="https://static.igem.org/mediawiki/2008/a/a0/Tjuteam.jpg" name="Image10" width="338" height="273" border="0"></a></p> | |
- | + | <p class="STYLE38">Tianjin University was founded as Peiyang University in 1895 as the first state founded university in China, and In 1951, after restructuring, Peiyang University was renamed Tianjin University, and became one of the largest multidisciplinary engineering universities in China. Now Tianjin University is among the leading research institutes in China and particularly exceeds its peers in chemical engineering. </p> </td> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</tr> | </tr> | ||
- | + | <tr> | |
- | + | <td height="268" bgcolor="#03438A" class="bodyText"><img src="https://static.igem.org/mediawiki/2008/8/8a/300px-911lou.jpg" width="334" height="268"></td> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | <td height=" | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</tr> | </tr> | ||
- | + | </table> </td> | |
- | + | <td width="7" bgcolor="#03438A"> </td> | |
- | + | <td width="317" valign="top" bgcolor="#03438A"><table width="317" height="943" border="0" cellpadding="0" cellspacing="0"> | |
- | + | <tr> | |
- | + | <td height="41" colspan="3" align="center" bgcolor="#03438A" class="sidebarHeader STYLE1" id="sidebarHeader"><p class="STYLE46">Our Project </p> </td> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</tr> | </tr> | ||
- | + | <tr> | |
- | + | <td width="28" height="902" bordercolor="#03438A" bgcolor="#03438A"><span class="STYLE68"></span></td> | |
- | + | <td width="301" bgcolor="#03438A" class="smallText STYLE68" id="sidebar"><table width="200" height="940" border="1" bordercolor="#03438A"> | |
- | + | <tr> | |
- | + | <td bgcolor="#03438A"><div align="center"><span class="STYLE1"><span class="STYLE1"><span class="STYLE1"><span class="STYLE1"><span class="STYLE1"><span class="STYLE1"><span class="STYLE1"><span class="STYLE78">Synthetic Symbiosis Ecosystem</span></span></span></span></span></span></span></span></div></td> | |
- | + | </tr> | |
- | + | <tr> | |
- | + | <td height="124" bgcolor="#03438A"><span class="STYLE77">Based on the design of a population-level toggle switch, our system could switch back and forth between two commonly defined | |
- | < | + | |
- | </tr> | + | ecosystems, symbiosis and |
- | + | competition ecosystems. </span></td> | |
- | + | </tr> | |
- | + | <tr> | |
- | + | <td height="250" bgcolor="#03438A"><span class="STYLE70"> | |
- | < | + | <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="269" height="241" align="absmiddle"> |
- | </ | + | <param name="movie" value="https://static.igem.org/mediawiki/igem.org/c/c7/2.swf"> |
- | </table></td> | + | <param name="quality" value="high"> |
+ | <embed src="https://static.igem.org/mediawiki/igem.org/c/c7/2.swf" width="269" height="241" align="absmiddle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed> | ||
+ | </object> | ||
+ | </span></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td bgcolor="#03438A"><div align="center"><span class="STYLE71">Bactieria Self-assembly System</span></div></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td bgcolor="#03438A"><span class="STYLE77">Four standardized vectors-two | ||
+ | donor vectors and one receptor vector as well as one transitional vector | ||
+ | have been constructed to realize our goal. When accomplishing our goal, the | ||
+ | steps in gene cloning experiments would be reduced to only introducing a | ||
+ | donor vector which contained a required gene into a cell</span></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td bgcolor="#03438A"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="270" height="255" align="middle"> | ||
+ | <param name="movie" value="https://static.igem.org/mediawiki/2008/6/6b/1.swf"> | ||
+ | <param name="quality" value="high"> | ||
+ | <embed src="https://static.igem.org/mediawiki/2008/6/6b/1.swf" width="270" height="255" align="middle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed> | ||
+ | </object></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <p align="center"><br /> | ||
+ | </p> | ||
+ | </td> | ||
+ | <td width="1" bgcolor="#03438A"><span class="STYLE68"></span></td> | ||
</tr> | </tr> | ||
- | + | </table> | |
- | + | <br /> </td> | |
- | + | <td width="21" bgcolor="#03438A"> </td> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td width=" | + | <td width="252" height="47" bgcolor="#03438A"> </td> |
- | <td width=" | + | <td width="1" bgcolor="#03438A"></td> |
- | <td | + | <td width="7" bgcolor="#03438A"> </td> |
- | + | <td width="212" bgcolor="#03438A"> </td> | |
+ | <td width="130" bgcolor="#03438A"> </td> | ||
+ | <td width="7" bgcolor="#03438A"> </td> | ||
+ | <td width="317" bgcolor="#03438A"> </td> | ||
+ | <td width="21" bgcolor="#03438A"> </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
- | < | + | <style> |
+ | /* 先把这个 xmenu 的样式放到css里 */ | ||
+ | .xmenu td{font-size:12px;font-family:verdana,arial;font-weight:bolder;color:#ffffff;border:1px solid #336699;background:#336699;filter:blendtrans(duration=0.5);cursor:hand;text-align:center;} | ||
+ | </style> | ||
+ | |||
+ | <script> | ||
+ | /* | ||
+ | more javascript from http://www.smallrain.net | ||
+ | |||
+ | 这是把事件动作绑定到菜单上的函数 | ||
+ | */ | ||
+ | function attachXMenu(objid){ | ||
+ | var tds=objid.getElementsByTagName('td'); | ||
+ | for(var i=0;i<tds.length;i++){ | ||
+ | with(tds[i]){ | ||
+ | onmouseover=function(){ | ||
+ | with(this){ | ||
+ | filters[0].apply(); | ||
+ | style.background='#FEBD20'; //这是鼠标移上去时的背景颜色 | ||
+ | style.border='1px solid #ffffff'; //边框 | ||
+ | style.color='black'; //文字颜色 | ||
+ | filters[0].play(); | ||
+ | } | ||
+ | } | ||
+ | onmouseout=function(){ | ||
+ | with(this){ | ||
+ | filters[0].apply(); | ||
+ | style.background='#336699'; //这是鼠标离开时的背景颜色 | ||
+ | style.border='1px solid #336699'; //边框 | ||
+ | style.color='#ffffff'; //文字颜色 | ||
+ | filters[0].play(); | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
+ | <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> | ||
+ | |||
+ | <style> | ||
+ | /* 先把这个 xmenu 的样式放到css里 */ | ||
+ | .xmenu td{font-size:12px;font-family:verdana,arial;font-weight:bolder;color:#ffffff;border:1px solid #336699;background:#336699;filter:blendtrans(duration=0.5);cursor:hand;text-align:center;} | ||
+ | </style> | ||
+ | |||
+ | <script> | ||
+ | /* | ||
+ | more javascript from http://www.smallrain.net | ||
+ | |||
+ | 这是把事件动作绑定到菜单上的函数 | ||
+ | */ | ||
+ | function attachXMenu(objid){ | ||
+ | var tds=objid.getElementsByTagName('td'); | ||
+ | for(var i=0;i<tds.length;i++){ | ||
+ | with(tds[i]){ | ||
+ | onmouseover=function(){ | ||
+ | with(this){ | ||
+ | filters[0].apply(); | ||
+ | style.background='#14285F'; //这是鼠标移上去时的背景颜色 | ||
+ | style.border='1px solid #ffffff'; //边框 | ||
+ | style.color='black'; //文字颜色 | ||
+ | filters[0].play(); | ||
+ | } | ||
+ | } | ||
+ | onmouseout=function(){ | ||
+ | with(this){ | ||
+ | filters[0].apply(); | ||
+ | style.background='#336699'; //这是鼠标离开时的背景颜色 | ||
+ | style.border='1px solid #336699'; //边框 | ||
+ | style.color='#ffffff'; //文字颜色 | ||
+ | filters[0].play(); | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
+ | <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> | ||
+ | |||
+ | <!--菜单从这里开始, 注意要把class设置成和css里相同的, 还要为它设一个id--> | ||
+ | <script>attachXMenu(xmenu0); //在上面这个table结束的地方执行事件动作的绑定, 这里的这个xmenu0就是那个table的id</script> | ||
+ | |||
</body> | </body> | ||
</html> | </html> |
Revision as of 07:43, 26 October 2008
f | ||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||