87,997
社区成员




// 创建对象部分
var wf = document.createElement("DIV");
wf.style.left = "-48px";
wf.style.top = "6px";
wf.style.width = pipe.offsetWidth + 96 + "px";
wf.className = "PipeWaterH";
pipe.start = function()
{
if(this.state == 'start')
return;
this.state = 'start';
wf.style.left = "-48px";
wf.style.display = '';
this.tmr = window.setInterval(function(){
wf.style.left = wf.offsetLeft + (pipe.way == "left" ? - 2 : 2) + "px";
if(wf.offsetLeft % 48 == 0)
{
wf.style.left = "-48px";
}
},200);
}
.PipeWaterH
{
background-image:url(../img/PipeWaterH.gif);
background-repeat:repeat-x;
height:12px;
position:absolute;
}