Extends umentElement. scrollTop; elseif (document. body) diffYdocument. body. scrollTopels
// JavaScript Document lastScrollY = 0; function heartBeat () {var diffY; if (document.doc umentElement document.doc umentElement. scrollTop) diffY = document.doc umentElement. scrollTop; else if (document. body) diffY = document. body. scrollTop els
// JavaScript Document
LastScrollY = 0;
Function heartBeat (){
Var diffY;
If (document.doc umentElement & document.doc umentElement. scrollTop)
DiffY = document.doc umentElement. scrollTop;
Else if (document. body)
DiffY = document. body. scrollTop
Else
{/* Netscape stuff */}
Percent =. 1 * (diffY-lastScrollY );
If (percent> 0) percent = Math. ceil (percent );
Else percent = Math. floor (percent );
Document. getElementById ("lovexin12"). style. top = parseInt (document. getElementById ("lovexin12"). style. top) + percent + "px ";
Document. getElementById ("lovexin14"). style. top = parseInt (document. getElementById ("lovexin12"). style. top) + percent + "px ";
LastScrollY = lastScrollY + percent;
}
Suspendcode12 ="
"
Suspendcode14 ="
"
Document. write (suspendcode12 );
Document. write (suspendcode14 );
Window. setInterval ("heartBeat ()", 1 );