現在很多網站廣告做的如火如荼
var delta=
var collection;
function floaters() {
ems = [];
this
{
document
var newItem = {};
newItem
newItem
newItem
ems[ems
}
this
{
collection = ems
setInterval(
}
}
function play()
{
if(screen
{
for(var i=
{
collection[i]
}
return;
}
for(var i=
{
var followObj = collection[i]
var followObj_x = (typeof(collection[i]
var followObj_y = (typeof(collection[i]
if(followObj
var dx=(document
dx=(dx>
followObj
}
if(followObj
var dy=(document
dy=(dy>
followObj
}
followObj
}
}
var theFloaters = new floaters();
theFloaters
theFloaters
theFloaters
把上面的代碼另存為一個JS文件
From:http://tw.wingwit.com/Article/program/Java/Javascript/201311/8552.html