有什么问题请到<a href='/bbs/forums.php?fid=21'>论坛</a>中发表<br>
<!-- http://www.webjx.com/js --><!-- 把如下代码加入<body>区域中 -->
<SCRIPT language=JavaScript>
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
function InsSM()
{
var table = '<table'+document.all.Bgcolor.value+document.all.Dkcolor.value+document.all.Ltcolor.value+' border="' +document.all.border.value+ '"' + ' cellspacing="' +document.all.cellspacing.value+ '"' + ' cellpadding="' +document.all.cellpadding.value+ '"' + ' width="' +document.all.width.value + document.all.widthType.value+ '">\n';
for (var x=0; x<document.all.rows.value; x++) {
table += " <tr>\n";
for (var y=0; y<document.all.cols.value; y++) {
table += " <td> </td>\n";
}
table += " </tr>\n";
}
table += "</table>\n";
document.all.theCode.value=(table);
document.write('<b><font size=2 color=#555555 face=Arial, Helvetica, sans-serif>Cut and paste the code inbetween your BODY tags.</font></b><textarea name=theCode cols=50 rows=6>'+table+'</textarea><br><input type=button name=Button value=SelectCode onClick=document.all.theCode.select();document.all.theCode.focus()><br><br><br>');
document.write('<b><font size=2 color=#555555 face=Arial, Helvetica, sans-serif>Table Preview:</font></b>'+table+'<p><input type=button name=button value=BACK onClick=history.back()></p>');
}
function MM_findObj(n, d) { //v3.0
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); return x;
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
function showColor(val) {
document.all.Ltcolor.value = ' bordercolorlight="'+val+'"';
document.all.B1.style.backgroundColor = val;
}
function show(val2) {
document.all.Bgcolor.value = ' bgcolor="'+val2+'"';
document.all.B3.style.backgroundColor = val2;
}
function showM(val3) {
document.all.Dkcolor.value = ' bordercolordark="'+val3+'"';
document.all.B2.style.backgroundColor = val3;
}
//-->
</SCRIPT>
<SCRIPT language=javascript>
<!--
// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(isNS)
document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
if(EnableRightClick==1){ return true; }
else {return false; }
}
function mousehandler(e){
if(EnableRightClick==1){ return true; }
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if((eventbutton==2)||(eventbutton==3)) return false;
}
function keyhandler(e) {
var myevent = (isNS) ? e : window.event;
if (myevent.keyCode==96)
EnableRightClick = 1;
return;
}
document.oncontextmenu = mischandler;
document.onkeypress = keyhandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
//-->
</SCRIPT>
<TABLE height=226 cellSpacing=6 cellPadding=0 width=600 bgColor=#ffffff
border=0>
<TBODY>
<TR vAlign=center align=middle bgColor=#ffffff>
<TD align=right width=121><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>Rows:</FONT></TD>
<TD align=left width=35><FONT face="Verdana, Arial, Helvetica, sans-serif"
size=-2><INPUT maxLength=3 size=3 value=1 name=rows> </FONT></TD>
<TD align=right width=124><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>Cols:</FONT></TD>
<TD align=left width=37><FONT face="Verdana, Arial, Helvetica, sans-serif"
size=-2><INPUT maxLength=4 size=3 value=1 name=cols> </FONT></TD>
<TD align=right width=84><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>Width:
</FONT></TD>
<TD align=left width=157><FONT size=-2><INPUT maxLength=4 size=4 value=100
name=width> <SELECT name=widthType> <OPTION value="">Pixels</OPTION>
<OPTION value=% selected>Percent</OPTION></SELECT> </FONT></TD></TR>
<TR vAlign=center align=middle bgColor=#ffffff>
<TD align=right width=121><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>Cell
Spacing:</FONT></TD>
<TD align=left width=35><FONT face="Verdana, Arial, Helvetica, sans-serif"
size=-2><INPUT class=txtClass maxLength=3 size=3 value=1 name=cellspacing>
</FONT></TD>
<TD align=right width=124><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>Cell
Padding:</FONT></TD>
<TD align=left width=37><FONT face="Verdana, Arial, Helvetica, sans-serif"
size=-2><INPUT maxLength=3 size=3 value=1 name=cellpadding> </FONT></TD>
<TD align=right width=84><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>Border:</FONT></TD>
<TD align=left width=157><FONT size=-2><INPUT maxLength=3 size=3 value=1
name=border> </FONT></TD></TR>
<TR vAlign=center align=middle bgColor=#ffffff>
<TD align=right width=121><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>Lt Border
Color:</FONT></TD>
<TD align=left width=35><INPUT onmouseover="MM_showHideLayers('Ltc','','show')" style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; WIDTH: 25px; CURSOR: hand; BORDER-RIGHT-WIDTH: 0px" onmouseout="MM_showHideLayers('Ltc','','hide')" type=button value=" " name=B1>
</TD>
<TD align=right width=124><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>Drk Border
Color:</FONT></TD>
<TD align=left width=37><INPUT onmouseover="MM_showHideLayers('Dkc','','show');" style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; WIDTH: 25px; CURSOR: hand; BACKGROUND-COLOR: #cccccc; BORDER-RIGHT-WIDTH: 0px" onmouseout="MM_showHideLayers('Dkc','','hide');" type=button value=" " name=B2>
</TD>
<TD align=right width=84><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=-2>Bg Color:</FONT></TD>
<TD align=left width=157><INPUT onmouseover="MM_showHideLayers('Bgc','','show');" style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; WIDTH: 25px; CURSOR: hand; BACKGROUND-COLOR: #cccccc; BORDER-RIGHT-WIDTH: 0px" onmouseout="MM_showHideLayers('Bgc','','hide');" type=button value=" " name=B3>
<FONT face="Verdana, Arial, Helvetica, sans-serif" size=-2><INPUT
type=hidden name=Bgcolor> <INPUT type=hidden name=Dkcolor> <INPUT
type=hidden name=Ltcolor> </FONT><FONT size=-2></FONT></TD></TR>
<TR vAlign=center align=middle bgColor=#ffffff>
<TD colSpan=6><FONT face=arial size=3><B><BR></B></FONT><FONT color=#ffffff
size=2><B></B></FONT><FONT size=-2><BR><BR><INPUT type=hidden
name=theCode> <INPUT style="BORDER-TOP-WIDTH: 2px; FONT-WEIGHT: bold; BORDER-LEFT-WIDTH: 2px; FONT-SIZE: 12px; BORDER-LEFT-COLOR: #006699; BORDER-BOTTOM-WIDTH: 2px; BORDER-BOTTOM-COLOR: #006699; WIDTH: 100px; CURSOR: hand; COLOR: #ffffff; BORDER-TOP-COLOR: #006699; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #006699; BORDER-RIGHT-WIDTH: 2px; BORDER-RIGHT-COLOR: #006699" onclick=InsSM() type=button value="Create Table" name=Button2>
</FONT></TD></TR></TBODY></TABLE>
<DIV id=Ltc onmouseover="MM_showHideLayers('Ltc','','show');"
style="Z-INDEX: 1; LEFT: 130px; VISIBILITY: hidden; WIDTH: 289px; POSITION: absolute; TOP: 30px; HEIGHT: 45px"
onmouseout="MM_showHideLayers('Ltc','','hide');"><A><IMG height=67
src="colortable.gif" width=289 useMap=#colmap border=0></A> <MAP
name=colmap><AREA shape=RECT coords=1,1,7,10
href="javascript:showColor('#00FF00')"><AREA shape=RECT coords=9,1,15,10
href="javascript:showColor('#00FF33')"><AREA shape=RECT coords=17,1,23,10
href="javascript:showColor('#00FF66')"><AREA shape=RECT coords=25,1,31,10
href="javascript:showColor('#00FF99')"><AREA shape=RECT coords=33,1,39,10