简单方便批量浇水器

08/03/10 12:41:16 标签:

代码中的174259|174267|是树种编号,可以自己编辑

<b>批量浇水</b><br>
<textarea style='width:500px;border:1px solid #999;' rows=4 id=treeidlist>174259|174267|</textarea>
<br><input type=button class=bi style=width:70px; onclick=startwater(); value=批量浇水>
<input type=button class=bi style=width:70px; onclick=clearTimeout(h); value="停 止">
<script language=--BLOCKED-->
var count=0;
var list;
var h=0;
var k;
function startwater()
{
 clearTimeout(h);
 list=treeidlist.value.split("|");
 k=0;
 count=list.length;
 water();
}
function water()
{
 f1.action="
http://tree.ci123.com/tree.php?treeid=".concat(list[list.length-count]);
 f1.submit.click();
 count-=k;
 if(count>0)
 {
  if(k==0)k=1;
  else k=0;
  h=setTimeout(water,1000);
 }
}
</script>
<form action="" name=f1 method=POST target=tree>
<input type=submit name=submit value="" style=display:none>
</form>

 

串门的留下小树苗号,我会为小宝宝浇水的噢  涵宝宝的树苗号是174259 174267

正文从这里开始:

 

阅读(0) | 留言(0) | 上一篇 | 

留言板

我要留言 诈骗信息提醒

请下载最新的flashplayer!