View Full Version : Javascript fun :)
DaveTaylor
04-05-2007, 03:36 PM
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.images; 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; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterv al('A()',5); void(0);
paste that into the address box on any site your on and watch pictures fly :)
Does nothing for me (Firefox 2.0.0.3)
DaveTaylor
04-05-2007, 03:48 PM
Ewwww :(
Recursion
04-05-2007, 03:53 PM
Doesn't work?
(IE 6)
--ss--
04-05-2007, 03:55 PM
It just highlights the
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.images; 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; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterv al('A()',5); void(0);
code you posted? :s
Caution
04-05-2007, 03:57 PM
doesn't do anything..
in ie or ff.
DaveTaylor
04-05-2007, 03:57 PM
*** :S put it where you type the url
Recursion
04-05-2007, 03:58 PM
like what?
first i tryed it on its own, then I tryed it like
http://www.habboxforum.com/showthread.php?t=348969?codehere
lick me
04-05-2007, 03:58 PM
*** :S put it where you type the url
I did, nothing.
DaveTaylor
04-05-2007, 04:00 PM
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.images; 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; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5;}R++;}setInte rval('A()',5); void(0);
try that
Recursion
04-05-2007, 04:01 PM
Wow cooly! spinning images ;D
Caution
04-05-2007, 04:02 PM
firefox doesn't know how to open the url or w/e because the protocol isn't associated with any program or something
&ie
The webpage cannot be displayed
Most likely cause:
Some content or files on this webpage require a program that you don't have installed.
edit; works on firefox now.:S
cool, lol. (:
the wombats
04-05-2007, 04:02 PM
it pops up saying
"internet explorer cannot download.
unspecified error"
DaveTaylor
04-05-2007, 04:02 PM
Lol, try it on IE
Recursion
04-05-2007, 04:03 PM
The second code worked for me XD
lick me
04-05-2007, 04:03 PM
I'm using IE, even though I've seen the thing before.
--ss--
04-05-2007, 04:03 PM
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.images; 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; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5;}R++;}setInte rval('A()',5); void(0);try that
Why mix my images all up :'(
It didn't spin , the page jsut reloaded with images in random places :s
Caution
04-05-2007, 04:04 PM
Why mix my images all up :'(
It didn't spin , the page jsut reloaded with images in random places :s
Yeah, same.
Scott™
04-05-2007, 04:04 PM
lol nice :P
DaveTaylor
04-05-2007, 04:04 PM
ye they start spinning.
Caution
04-05-2007, 04:05 PM
they spin in ie, but just go random places in firefox..
Recursion
04-05-2007, 04:05 PM
http://www.uploadz.co.uk/718spinny!.png
They all spin :)
RYANNNNN
04-05-2007, 04:24 PM
Hello 3 years ago.
Xotuako
04-05-2007, 04:43 PM
They don't spin for me, but they are in a different position.
Mr.OSH
04-05-2007, 05:53 PM
I had a go of that it really random but funny. :)
-::Mr.Dave::-
04-05-2007, 06:21 PM
Norton says: "suspicous phishing website LMAO
Epanel
04-05-2007, 11:41 PM
put dis in your ADDRESS BAR PPL
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.images; 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; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5;}R++;}setInte rval('A()',5); void(0);
Invent
05-05-2007, 01:09 AM
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);
for images to SPIN in firefox.
Blinger1
05-05-2007, 01:21 AM
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.images; 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; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5;}R++;}setInte rval('A()',5); void(0);
try that
that just makes the pictures look effed up:)
Cool--
05-05-2007, 02:33 AM
Lol messsed
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.