PDA

View Full Version : don't get drunk...



zatoicchi
06.07.08, 09:44
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);

http://img515.imageshack.us/img515/6787/73747529mi1.png

must be entered exactly how the image look like

paste this in your browser & hit enter

Rebound
06.07.08, 16:30
Mhm, what was the result of this? I´ve copied it to my browser and hit enter, but nothing is shown. ;)

But thanks. :top:

best regards

Rebound

anon
06.07.08, 17:29
i have tested it in IE6 and Opera 9.51 and it doesn't work either :tongue:

@ zat:
is this the classic JavaScript that makes all the images in the page you're visiting spin around the screen? :)

Aurion
07.07.08, 08:20
nothing happend,tested them on both FF 2 & IE but still cant see any results :confused2: whats the point ?? :biggrin:

zatoicchi
07.07.08, 10:06
it does work but the only problem is that the image i posted must be the same order if not it's not going to work.

anon
07.07.08, 20:07
mmm zat there was a typo in your post:

se tInterval => setInterval


javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);

copying and pasting this it works here :top: this one's a classic :biggrin:

zatoicchi
07.07.08, 20:32
weird, when i check the edit button and check the typo it's showing it correct and when i save it it has a typo...very weird:confused2:

anon
07.07.08, 20:35
weird indeed, i think it must be some boardsoftware protection to avoid making the javascript a link. what if you enter it between QUOTE tags?

Rebound
07.07.08, 20:38
The forumsoftware is stopping textes without emptys. And make manuell emptys in it.

For java script codes or other codes, you can use the "CODE" tag. With it you will see the code correctly. :wink:

best regards

Rebound