Sain tällaisen skriptin kaveriltani. Tarkoitus olisi luoda koiran kuva joka avaa sittemmin klikattaessa linkin popup-ikkunaan thumbnailiksi. Skripti on Internet Explorerille. Ihmettelen vain, kun skripti ei toimi, luo vain jotain epämääräistä vilskettä sivulle? Kiitos vastanneille!
x=490
y=screen.height Math.random()-99
xx=document.body.clientWidth/9057
yy=document.body.clientWidth/document.body.clientHeight
colalz=["#ff0000","#FFFF00","#00FF00","#0000FF","#00FFFF"];
function Xxx(q,xpos,zpos,ff){
var rand = Math.floor(Math.random()*3)
if(rand==0){setTimeout("Xxx(59,60,42,888);",1);}
if(rand==1){setTimeout("Xxx(0,0,0,0)",1);}
if(rand==2){setTimeout("Xxx(50,60,70,89)",1)}
rnd=Math.floor(Math.random()*9999)
if(rnd>=1 && rnd45)document.bgColor="white"
if(ff){}
x =xx
y =yy
if(xscreen.height-179)yy=Math.round(Math.random()*(-30 zpos))
if(ff==0||ff>800){
if(Math.floor(Math.random()*2)==0)
document.bgColor=parseInt(Math.tan(new Date().getSeconds())*0xffffff)
}
h.style.left=x-xpos;
h.style.top = y-zpos;
if(Math.ceil(Math.random()*99999999999999999999999999999)==5)
alert("YOURE WINNER!!!!!!! CONGRTALUISTAIONS!!!!!!!!!!!!!11111!")
if(xx>5&&xx400&&x
x=490
y=screen.height Math.random()-99
xx=document.body.clientWidth/9057
yy=document.body.clientWidth/document.body.clientHeight
colalz=["#ff0000","#FFFF00","#00FF00","#0000FF","#00FFFF"];
function Xxx(q,xpos,zpos,ff){
var rand = Math.floor(Math.random()*3)
if(rand==0){setTimeout("Xxx(59,60,42,888);",1);}
if(rand==1){setTimeout("Xxx(0,0,0,0)",1);}
if(rand==2){setTimeout("Xxx(50,60,70,89)",1)}
rnd=Math.floor(Math.random()*9999)
if(rnd>=1 && rnd45)document.bgColor="white"
if(ff){}
x =xx
y =yy
if(xscreen.height-179)yy=Math.round(Math.random()*(-30 zpos))
if(ff==0||ff>800){
if(Math.floor(Math.random()*2)==0)
document.bgColor=parseInt(Math.tan(new Date().getSeconds())*0xffffff)
}
h.style.left=x-xpos;
h.style.top = y-zpos;
if(Math.ceil(Math.random()*99999999999999999999999999999)==5)
alert("YOURE WINNER!!!!!!! CONGRTALUISTAIONS!!!!!!!!!!!!!11111!")
if(xx>5&&xx400&&x
Vastaukset 3
Vanhimmat
tuo koodi - sinua on kusetettu!
...Ja kaverillas on varmaan kymppi englannista.
"YOURE WINNER!!!!!!! CONGRTALUISTAIONS!!!!!!!"
Näyttää enemmän joltain surkean mainosscriptin yritykseltä!