锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久精品99久久,一级二级在线观看,超碰激情在线http://www.aygfsteel.com/lcs/archive/2008/03/17/156138.html#186685gaogaogaogaoMon, 17 Mar 2008 01:17:00 GMThttp://www.aygfsteel.com/lcs/archive/2008/03/17/156138.html#186685
]]>- re: 涓栫晫緙栫▼澶ц禌澶村悕紼嬪簭!(鐖嗗己)http://www.aygfsteel.com/lcs/archive/2008/01/18/159874.html#1761881111Fri, 18 Jan 2008 05:31:00 GMThttp://www.aygfsteel.com/lcs/archive/2008/01/18/159874.html#176188
]]> - re: js table鎿嶄綔 -------- 縐誨姩琛?/title>http://www.aygfsteel.com/lcs/archive/2008/01/15/164043.html#175388netspiritnetspiritTue, 15 Jan 2008 02:29:00 GMThttp://www.aygfsteel.com/lcs/archive/2008/01/15/164043.html#175388
]]> - re: HashMap 浣跨敤灝忕粨http://www.aygfsteel.com/lcs/archive/2008/01/12/161803.html#174817yangguangyangguangSat, 12 Jan 2008 07:43:00 GMThttp://www.aygfsteel.com/lcs/archive/2008/01/12/161803.html#174817鍙栧嚭hashmap鏈澶у煎搴旂殑key鎬庝箞鍋氾紵

]]> - re: JavaScript綾葷殑緇ф壙[鏈櫥褰昡http://www.aygfsteel.com/lcs/archive/2007/12/29/151251.html#171609cycySat, 29 Dec 2007 11:43:00 GMThttp://www.aygfsteel.com/lcs/archive/2007/12/29/151251.html#171609<script language="JavaScript" type="text/javascript">
<!--
//瀹氫箟class1
function class1(){
//鏋勯犲嚱鏁?
}
//瀹氫箟class1鐨勬垚鍛?
class1.prototype={
m1:function(){
alert(1);
}
}
//瀹氫箟class2
function class2(){
//鏋勯犲嚱鏁?
}
//璁ヽlass2緇ф壙浜巆lass1
class2.prototype=new class1();
//緇檆lass2閲嶅瀹氫箟鏂規(guī)硶method
class2.prototype.method=function(){
alert(2);
}
//鍒涘緩涓や釜綾葷殑瀹炰緥
var obj1=new class1();
var obj2=new class2();
//鍒嗗埆璋冪敤涓や釜瀵硅薄鐨刴ethod鏂規(guī)硶
obj1.method();
obj2.method();
//-->
</script>

]]> - 222http://www.aygfsteel.com/lcs/archive/2007/12/26/151248.html#170593111111Wed, 26 Dec 2007 06:53:00 GMThttp://www.aygfsteel.com/lcs/archive/2007/12/26/151248.html#170593
]]> - re: js table鎿嶄綔 ------ 鎷栨嫿琛屼負騫朵笖浣垮叾鑷姩璐撮檮http://www.aygfsteel.com/lcs/archive/2007/12/12/164045.html#167302jeasonzhaojeasonzhaoWed, 12 Dec 2007 11:15:00 GMThttp://www.aygfsteel.com/lcs/archive/2007/12/12/164045.html#167302鍦ㄥ疄闄呮祴璇曠殑鏃跺欙紝鏈夊畾浣嶇殑閮ㄥ噯紜殑闂錛屽彲浠ヤ嬌鐢╡lementFromPoint鍑芥暟瑙e喅榪欎釜闂

]]> - re: JavaScript綾葷殑緇ф壙http://www.aygfsteel.com/lcs/archive/2007/12/12/151251.html#167097MicMicTue, 11 Dec 2007 16:13:00 GMThttp://www.aygfsteel.com/lcs/archive/2007/12/12/151251.html#167097 <script language="javascript" type="text/javascript">
//瀹氫箟extend鏂規(guī)硶
Object.extend=function(destination,source){
for(var property in source)
{
destination[property]=source[property];
}
return destination;
}
//閫氳繃Object綾諱負姣忎釜瀵硅薄娣誨姞extend鏂規(guī)硶
Object.prototype.extend=function(object){
return Object.extend.apply(this,[this,object]);
}
function class1()
{
}
class1.prototype={
method:function(){
alert("class1");
},
method2:function(){
alert("method2");
}
}
function class2(){
}
class2.prototype=(new class1()).extend({
name:"Michael",
method:function(){
alert("class2");
}
});
var obj1=new class1();
var obj2=new class2();
//瀹為獙obj1鍜宱bj2鐨勬柟娉?
obj1.method();
obj2.method();
obj1.method2();
obj2.method2();
</script>
]]> - re: js table鎿嶄綔 -------- 縐誨姩琛?/title>http://www.aygfsteel.com/lcs/archive/2007/12/07/164043.html#165994lklkFri, 07 Dec 2007 03:25:00 GMThttp://www.aygfsteel.com/lcs/archive/2007/12/07/164043.html#165994娌′漢鏉ワ紝灝辮嚜宸遍《涓涓嬶紒
涓漢淇敼鍚庣殑浠g爜錛?br />
<html>
<head>
<title>lk.jsp</title>

<script type="text/javascript">
var o1,o2;
var o1a=new Array();
var o2a=new Array();

function switchTd(tr1,tr2)
{

for(x=0;x<o1a.length;x++)
{
tr1.cells[x].innerHTML=o2a[x];
tr2.cells[x].innerHTML=o1a[x];
}
tr1.cells[0].innerHTML=o1a[0];
tr2.cells[0].innerHTML=o2a[0];
clickMouse(tr2);
}


function SetRow(dir)
{
var o;
var start=false;
var num=0;
var v_radio = document.getElementsByName("order_radio");

for(var j=0;j<v_radio.length;j++)
{

if(v_radio[j].checked)
{
o=v_radio[j];
start=true;
num=v_radio[j].parentNode.parentNode.rowIndex;
}
}

if(!start)
{
alert("璇烽夋嫨涓涓夐」");return;
}

if(num<=1 && dir=="up")
{
alert("宸茬粡鏃犳硶鍐嶅悜涓?/span>");return;
}

if(num>=(v_radio.length) && dir=="down")
{
alert("宸茬粡鏃犳硶鍐嶅悜涓?/span>");return;
}
var p = o.parentNode.parentNode;
var trs = document.getElementById("table_order").getElementsByTagName("tr");
o1=trs[p.rowIndex];
var tdLen=trs[p.rowIndex].cells.length;
o1a.length=tdLen;
o2a.length=tdLen;

for(var i=0;i<tdLen;i++)
{
o1a[i]=trs[p.rowIndex].cells[i].innerHTML;

if(dir=="down")
{
o2a[i]=trs[p.rowIndex+1].cells[i].innerHTML;

}else
{
o2a[i]=trs[p.rowIndex-1].cells[i].innerHTML;
}
}

if(dir=="down")
{
o2=trs[p.rowIndex+1];

}else
{
o2=trs[p.rowIndex-1];
}
switchTd(o1,o2);
}
var v_tr = null;

function onMouse(obj)
{

if(obj.cells[obj.cells.length-1].childNodes[0].checked==false)
{
obj.bgColor="#E6E6FA";
}
}

function outMouse(obj)
{

if(obj.cells[obj.cells.length-1].childNodes[0].checked==false)
{
obj.bgColor="";
}
}

function clickMouse(obj)
{
obj.cells[obj.cells.length-1].childNodes[0].checked=true;
obj.bgColor="#D8BFD8";

if(v_tr!=null&&v_tr!=obj)
{
v_tr.bgColor="";
}
v_tr = obj;
}
</script>
</head>
<body>
<form name="form_order" action="lk_test.jsp" method="post">
<table>
<tr>
<td>
<table border="1" name="table_order" id="table_order" >
<tr bgcolor="#9F9Fc0">
<td>搴忓彿</td>
<td>欏圭洰鍚嶇О</td>
<td>璇烽夋嫨</td>
</tr>
<tr onmouseover="onMouse(this);" onmouseout="outMouse(this);" onclick="clickMouse(this);">
<td>1<input type="hidden" name="orderid" value="1"/></td>
<td>濮撳悕<input type="hidden" name="dbid" value="1"></td>
<td><input type="radio" name="order_radio" id="order_radio"/></td>
</tr>
<tr onmouseover="onMouse(this);" onmouseout="outMouse(this);" onclick="clickMouse(this);">
<td>2<input type="hidden" name="orderid" value="2"/></td>
<td>鎬у埆<input type="hidden" name="dbid" value="2"></td>
<td><input type="radio" name="order_radio" id="order_radio"/></td>
</tr>
<tr onmouseover="onMouse(this);" onmouseout="outMouse(this);" onclick="clickMouse(this);">
<td>3<input type="hidden" name="orderid" value="3"/></td>
<td>E-MAIL<input type="hidden" name="dbid" value="6"></td>
<td><input type="radio" name="order_radio" id="order_radio"/></td>
</tr>
<tr onmouseover="onMouse(this);" onmouseout="outMouse(this);" onclick="clickMouse(this);">
<td>4<input type="hidden" name="orderid" value="4"/></td>
<td>鎵嬫満<input type="hidden" name="dbid" value="3"></td>
<td><input type="radio" name="order_radio" id="order_radio"/></td>
</tr>
<tr onmouseover="onMouse(this);" onmouseout="outMouse(this);" onclick="clickMouse(this);">
<td>5<input type="hidden" name="orderid" value="5"/></td>
<td>鐢?shù)璇?/span><input type="hidden" name="dbid" value="4"></td>
<td><input type="radio" name="order_radio" id="order_radio"/></td>
</tr>
<tr onmouseover="onMouse(this);" onmouseout="outMouse(this);" onclick="clickMouse(this);">
<td>6<input type="hidden" name="orderid" value="6"/></td>
<td>瀹跺涵浣忓潃<input type="hidden" name="dbid" value="5"></td>
<td><input type="radio" name="order_radio" id="order_radio"/></td>
</tr>
<tr onmouseover="onMouse(this);" onmouseout="outMouse(this);" onclick="clickMouse(this);">
<td>7<input type="hidden" name="orderid" value="7"/></td>
<td>閭紪<input type="hidden" name="dbid" value="7"></td>
<td><input type="radio" name="order_radio" id="order_radio"/></td>
</tr>
</table>
</td>
<td>
<input type="button" value="↑鍚戜笂縐誨姩 " onclick="SetRow('up');"/><br>
<input type="button" value="↓鍚戜笅縐誨姩 " onclick="SetRow('down');"/>
</td>
</tr>
</table>
<br><br>
<input type="submit" value=" 鎻愪氦淇敼 "/>
</form>
</body>
</html>

]]>
主站蜘蛛池模板:
池州市|
建宁县|
开封县|
六安市|
澎湖县|
大冶市|
民县|
东明县|
华蓥市|
宜君县|
安乡县|
鲁山县|
舞钢市|
葫芦岛市|
临西县|
玛曲县|
荣成市|
银川市|
安化县|
历史|
麻城市|
西乡县|
铁力市|
高台县|
天镇县|
南充市|
安康市|
昌黎县|
河北省|
全椒县|
海丰县|
白朗县|
夏河县|
织金县|
横山县|
监利县|
鄂伦春自治旗|
石家庄市|
镶黄旗|
城市|
平安县|