Forum
Digit Technology Discussion Forum
>
Software
>
Programming
Webpage on Drugs - Javascript
User Name
Remember Me?
Password
Register
FAQ
Calendar
Mark Forums Read
Programming
The destination for developers - C, C++, Java, Python and the lot
LinkBack
Thread Tools
Display Modes
05-04-2011, 01:52 PM
#
1
(
permalink
)
TSPatange_1309
Tech Freak Digitian.
Join Date: Oct 2010
Location: Mumbai
Posts: 33
Webpage on Drugs - Javascript
Hey Hello Guyzz...i just found one vry funny javascript...& i wanna share it with u...! the name of tht javascript is "webpage on drugs"...!
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("div"); 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++}se tInterval('A()',5); void(0);
just Ctrl + V (Copy-Paste) the above code in your browsers address bar and see the magic...!
__________________
CEO of http://megatricks4u.blogspot.com
Advertisements. Register and be a member of the community to get rid of them.
Advertisement
05-04-2011, 02:05 PM
#
2
(
permalink
)
funkysourav
What The.... !!!
Join Date: Jan 2009
Posts: 825
Re: Webpage on Drugs - Javascript
why dont you post a screenshot of what happens?
i am not exactly comfy of the idea of running any unknown script in my browser
05-04-2011, 03:02 PM
#
3
(
permalink
)
coolpcguy
Resistance is Futile.
Join Date: Oct 2007
Location: Borg Cube
Posts: 534
Re: Webpage on Drugs - Javascript
Meh, just applies sin() * cos() to x,y,z variables to each div element. been seeing these since eternity.
__________________
Super User ♦ Moderator
| chip/tech2 forum Mod |
About me
Gadgets:
HP Envy 14
|
Google Cr-48
|
D-Link DGL 4500
|
Denon AH-C360
|
Fiio E5
| Galaxy SII GT-I9100 | Dell U2312HM
05-04-2011, 03:03 PM
#
4
(
permalink
)
ico
.
Join Date: Jun 2007
Location: New Delhi
Posts: 8,944
Re: Webpage on Drugs - Javascript
Locking this thread.
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Forum Rules
Latest Threads
All Metalheads here
- by
MetalheadGautham
Battlefield 3 Multiplayer Discussion
- by
Charan
Diablo III Discussion
- by
Gaurav Bhattacharjee
The LG Optimus One Thread
- by
noobdroid
Official Android discussion thread
- by
amitabhishek
Dota 2
- by
Sarath
the FOOTBALL channel
- by
Arsenal_Gunners
Sony announces the water-proof Xperia go and Xperia acro S
- by
clmlbx
GTA 4 FPS problem
- by
vaibhav23
Must Watch Movies Recommended By Digitians
- by
~Phenom~
Advertisement
All times are GMT +5.5. The time now is
12:25 AM
.
Contact Us
-
Thinkdigit.com
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
LinkBack
LinkBack URL
About LinkBacks
Search Engine Optimization by
vBSEO
3.3.2