TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,993
  • Total Topics: 21,324
  • Online today: 388
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 332
  • Total: 332

Flyin Images...

Started by Max, November 25, 2006, 02:25:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Max


Had someone post this on my site, tought it was fun hehe.

copy and paste the code below to your address bar and hit enter!  ;)

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)

pvcblue

#1
Quote from: Maxâââ,¬Å¾Ã,¢ on November 25, 2006, 02:25:46 PM

Had someone post this on my site, tought it was fun hehe.

copy and paste the code below to your address bar and hit enter!  ;)




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)




asking someone to put something in the address bar is not too cool, could be a virus..........

knat

I saw this script in another post a while ago.. somebody turned it into a block code snippet.. pretty cool but also pretty useless  ;D

Max

#3
Quote from: pvcblue on November 25, 2006, 05:08:02 PM

asking someone to put something in the address bar is not too cool, could be a virus..........


Its not a virus... i wouldnt post it if it was!
just a bit of fun with the images on the page your viewing :P

akulion

dosent seem to work in FF - i did it but nothing happend

IchBin

hmm... worked fine in my FF. Still using 1.5 though.

akulion

oh hey it works!!

strange it didnt work before - probably cos i was running a java based chat in the browser in another tab probably a conflict

nice one

This website is proudly hosted on Crocweb Cloud Website Hosting.