今天刚刚学会了批量浇水的做法。。。下面我就把代码复制下来,妈妈们只用把代码复制到主页特效里或博客里就行了!
<b>批量浇水</b><br>
<textarea style='width:500px;border:1px solid #999;' rows=4 id=treeidlist>164825|164849|174690|174691</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>
注:代码第二行的红色数字换成你家宝宝的小花小树代码就好了!你学会了吗?那就给我家的小花小树批量浇浇水吧!
正文从这里开始: