Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

256 Posts in 126 Topics- by 44 Members - Latest Member: wildbad

January 06, 2009, 06:45:48 AM
  Google ads

11,000,000 Global IP Unique Visitors $1950.00

Bookmark and Share
WebMasters ForumBuy, Sell or TradeFreebiesFlying images with javascript
Pages: [1]   Go Down
Print
Author Topic: Flying images with javascript  (Read 139 times)
0 Members and 1 Guest are viewing this topic.
Joseph
Administrator
Trade Count: (1)
*****
Offline Offline

Posts: 138



View Profile WWW
« on: September 15, 2008, 09:53:22 PM »

So, open up Internet Explorer, go to any website with images and add the flowing code into the URL bar and hit enter.

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);

Do not worry, won`t harm your computer. Wink
Logged

pranavrules
Trade Count: (0)
Newbie
*
Offline Offline

Posts: 48


View Profile
« Reply #1 on: September 16, 2008, 09:47:55 AM »

lol, i used this script on this very website.. the advertisement image on top flew away.. LOL hehehe.. nice script.. Smiley
Logged
wildbad
Trade Count: (0)
Jr. Member
**
Offline Offline

Posts: 50


View Profile
« Reply #2 on: January 02, 2009, 10:25:42 PM »

ya we can do lots of stuffs with javascript..
Logged
Pages: [1]   Go Up
Print
Jump to:  

Forex online. Without it, you are wasting your time (and money).
Forex trading involves substantial risk of loss, and may not be suitable for everyone.