Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 573 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Javascript :

Sweet Javascript Code

Thread title: Sweet Javascript Code
Closed Thread    
    Thread tools Search this thread Display Modes  
07-11-2008, 12:02 AM
#1
Super Dude is offline Super Dude
Super Dude's Avatar
Status: Junior Member
Join date: Jul 2008
Location: New York City
Expertise:
Software:
 
Posts: 29
iTrader: 0 / 0%
 

Super Dude is on a distinguished road

Send a message via AIM to Super Dude Send a message via MSN to Super Dude

  Old  Sweet Javascript Code

I don't know if this has already posted or not, I tried searching the forum to see but couldn't find any threads on it, so admins or mods, if theres a duplicate, sorry.

Any who, heres this sweet javascript code.
But first, you have to search something in google images.
After that, input this code in your address bar.

PHP Code:
javascript:R=0x1=.1y1=.05x2=.25y2=.24x3=1.6y3=.24x4=300y4=200x5=300y5=200DI=document.imagesDIL=DI.length; function A(){for(i=0i<DILi++){DIS=DI].styleDIS.position='absolute'DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0
And watch as the magic unfolds
btw, I found that code here:
http://www.pikanai.com/

07-11-2008, 12:22 AM
#2
Seraskier is offline Seraskier
Status: I love this place
Join date: Jan 2007
Location: Charlotte
Expertise:
Software:
 
Posts: 542
iTrader: 0 / 0%
 

Seraskier is an unknown quantity at this point

Send a message via AIM to Seraskier Send a message via MSN to Seraskier

  Old

hah, very interesting

try: deviantart.com ^_^

07-11-2008, 12:29 AM
#3
High5 is offline High5
High5's Avatar
Status: Junior Member
Join date: Jun 2008
Location:
Expertise:
Software:
 
Posts: 84
iTrader: 0 / 0%
 

High5 is on a distinguished road

  Old

i must have did it wrong. nothing happened

07-11-2008, 12:32 AM
#4
Seraskier is offline Seraskier
Status: I love this place
Join date: Jan 2007
Location: Charlotte
Expertise:
Software:
 
Posts: 542
iTrader: 0 / 0%
 

Seraskier is an unknown quantity at this point

Send a message via AIM to Seraskier Send a message via MSN to Seraskier

  Old

Originally Posted by FireWire View Post
i must have did it wrong. nothing happened
okay, do this

go to http://www.deviantart.com (or any site you please)
use IE as it said it doesnt work well in FF, opera, safari, etc.

Now delete everything out of the address bar without leaving the page and paste this code in its place:

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)
watch what happens, very interesting

07-11-2008, 12:35 AM
#5
High5 is offline High5
High5's Avatar
Status: Junior Member
Join date: Jun 2008
Location:
Expertise:
Software:
 
Posts: 84
iTrader: 0 / 0%
 

High5 is on a distinguished road

  Old

lol my pc was possessed for a sec. good stuff

07-11-2008, 01:47 AM
#6
Super Dude is offline Super Dude
Super Dude's Avatar
Status: Junior Member
Join date: Jul 2008
Location: New York City
Expertise:
Software:
 
Posts: 29
iTrader: 0 / 0%
 

Super Dude is on a distinguished road

Send a message via AIM to Super Dude Send a message via MSN to Super Dude

  Old

Originally Posted by Seraskier View Post
hah, very interesting

try: deviantart.com ^_^
Haha how could I forget Deviantart?
lol, awesome.

Try sites with lots of images to see what happens =D

07-15-2008, 02:27 PM
#7
shaza4061 is offline shaza4061
Status: I'm new around here
Join date: Jul 2008
Location:
Expertise:
Software:
 
Posts: 11
iTrader: 0 / 0%
 

shaza4061 is on a distinguished road

  Old

cool codes.. hahhaa.. thank you for sharing

07-20-2008, 08:56 PM
#8
infinivert is offline infinivert
infinivert's Avatar
Status: Junior Member
Join date: Jul 2008
Location: Abilene TX
Expertise: Design, PHP, JS, HTML5, CSS3
Software:
 
Posts: 37
iTrader: 0 / 0%
 

infinivert is on a distinguished road

Send a message via AIM to infinivert

  Old

I'm so going to go around to all my coworkers computers and do this to whatever pages they happen to be browsing while they aren't looking. Mwahahahahaaaa!

--Josh

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed