View Full Version : don't get drunk...
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
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
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? :)
nothing happend,tested them on both FF 2 & IE but still cant see any results :confused2: whats the point ?? :biggrin:
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.
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:
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:
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?
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
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.