制作方法:
1. 进入宝宝主页管理中心,点开“主页特效设置”;
2. 将代码复制到特效框:<b>批量浇水</b><br>
<textarea style='width:500px;border:1px solid #999;' rows=4 id=treeidlist>38641|2685|167031|167035</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=javascript>
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>
3. 代码里的数字,比如121851、122229等表示树苗或花苗的编号,你只要把你自己和朋友的树苗编号添加进去就可以了,理论上可以添加很多个。
4. 点击“确定更新”就完成了,回到你的主页,就可以使用浇水器了。
5. 2685|38641|167031|167035|是本主页宝宝的树苗和花苗编号,别删除哦!!!o(∩_∩)o...