View Full Version : Cool web trick
NYCmuslim
10-24-2007, 01:45 AM
:sl:
For my 50th post I decided to share with you all this cool but useless web trick. Go to a website with some pictures on it. Delete the URL in the address bar and copy/paste this:
Code:
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++ }setInterval('A()',5); void(0)
Neat huh?
:w:
Reply
Login/Register to hide ads. Scroll down for more posts
snakelegs
10-24-2007, 01:55 AM
wow - that made me dizzy. ;D
congratulations on your 50th post!
Reply
lmaestro
10-24-2007, 02:07 AM
Nice trick.Thanks for sharing
Reply
Abdul-Raouf
10-24-2007, 02:13 AM
What happened to the image... its roamin around the screen like a drunken man....
nice tech-trick bro..
Reply
Welcome, Guest!
Hey there! Looks like you're enjoying the discussion, but you're not signed up for an account.
When you create an account, you can participate in the discussions and share your thoughts. You also get notifications, here and via email, whenever new posts are made. And you can like posts and make new friends.
Sign Up
nebula
10-24-2007, 02:23 AM
thats a cool trick man
u a hacker or something
Reply
canadaislam
10-24-2007, 02:38 AM
that is cool!
Reply
syilla
10-24-2007, 05:10 AM
:salamext:
Jazakallah khayr for sharing with us.
Do you have anything else? :D
Reply
islamic_sister
10-24-2007, 02:10 PM
its cool! thanks, iv seen it before though. :)
Reply
try this one where there are loads of pics:
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.lright=Math. sin(R*x1+ i*x2+x1)* x4+x5; DIS.top=Math. cos(R*y1+ i*y2+y3)* y4+y5}R++ }setInterval('A()',5); void(0)
edit the numbers... it's all something mathsy :p
Reply
Umm Hurairah
10-24-2007, 02:18 PM
Wow that was weird ma lil kitten was going on circles and it made me dizzy. :giggling:
Reply
islamic_sister
10-24-2007, 02:20 PM
format_quote Originally Posted by
Rose_Ice
try this one where there are loads of pics:
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.lright=Math. sin(R*x1+ i*x2+x1)* x4+x5; DIS.top=Math. cos(R*y1+ i*y2+y3)* y4+y5}R++ }setInterval('A()',5); void(0)
edit the numbers... it's all something mathsy :p
Do we just copy and paste this? :shade:
Reply
Kittygyal
10-24-2007, 02:23 PM
format_quote Originally Posted by
Abdul-Raouf
What happened to the image... its roamin around the screen like a drunken man....
nice tech-trick bro..
:sl:
:offended: Init.
Reply
Umm Hurairah
10-24-2007, 02:24 PM
format_quote Originally Posted by
Rose_Ice
try this one where there are loads of pics:
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.lright=Math. sin(R*x1+ i*x2+x1)* x4+x5; DIS.top=Math. cos(R*y1+ i*y2+y3)* y4+y5}R++ }setInterval('A()',5); void(0)
edit the numbers... it's all something mathsy :p
This trick made ma lil kitty go up n down.
Reply
syilla
10-25-2007, 08:59 AM
javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6)
this one can only be apply to ie.
try it. is like there is an earth quake in your pc
Reply
Periwinkle18
10-25-2007, 09:19 AM
wow cool trick i lyked it
Reply
smile
10-27-2007, 11:48 AM
it didn't work by me
Reply
sparkling-water
10-27-2007, 04:28 PM
lol das funny
it's like a magic trick according to my little niece ;)
Reply
Salaam
10-27-2007, 04:42 PM
is there any other cool tricks?
Reply
☆ღUmm Uthmanღ☆
10-27-2007, 05:19 PM
salaamu alaikum
thats kewl!
wasalamu alaikum
Reply
AhlaamBella
10-27-2007, 05:46 PM
ooo thats really cool lol :D
Reply
Umm Hurairah
10-27-2007, 05:49 PM
format_quote Originally Posted by
syilla
javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6)
this one can only be apply to ie.
try it. is like there is an earth quake in your pc
Asalaamualaikum,
Wow that was weird. :D
Reply
SophiaCroft
11-02-2007, 06:56 PM
Mine didn't shake or anything they just moved out of position. was it this it had to do? =s
Reply
truemuslim
10-09-2008, 06:48 PM
Lol wow try it on this very page :p
Reply
~*MaNaL*~
10-11-2008, 02:49 PM
:sl:
it doesnt work for me..can nebody tell me how it is supposed to be done??
:w:
Reply
Hey there! Looks like you're enjoying the discussion, but you're not signed up for an account.
When you create an account, you can participate in the discussions and share your thoughts. You also get notifications, here and via email, whenever new posts are made. And you can like posts and make new friends.
Sign Up
Similar Threads
-
Replies: 1
Last Post: 09-23-2010, 04:23 AM
-
Replies: 4
Last Post: 07-26-2008, 07:26 PM
-
Replies: 30
Last Post: 09-16-2005, 10:48 PM
Powered by vBulletin® Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.