Swirling pictures!

Discussion in 'Off Topic Chat' started by cal_gundert05, Jan 11, 2007.

  1. cal_gundert05

    cal_gundert05 TPF Noob!

    Joined:
    Sep 27, 2006
    Messages:
    387
    Likes Received:
    0
    Can others edit my Photos:
    Photos NOT OK to edit
    Found this on another forum:

    Go to a webpage with some pics (like Google Images), then copy and paste the following in the 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.images;DIL=DI.length;function A(){for(j=0; j-DIL; j++){DIS=DI[j].style;DIS.position='absolute';DIS.left=(Math.sin(R*x1+j*x2+x3)*x4+x5)+"px";DIS.top=(Math.cos(R*y1+j*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5);void(0);
     
  2. Puscas

    Puscas TPF Noob!

    Joined:
    Oct 7, 2006
    Messages:
    1,885
    Likes Received:
    3
    Location:
    Brooklyn NY
    ?? nothing happens.








    pascal
     
  3. Unimaxium

    Unimaxium TPF Noob!

    Joined:
    Nov 13, 2004
    Messages:
    2,689
    Likes Received:
    22
    Location:
    Northeastern University, originally from Philly
    Can others edit my Photos:
    Photos OK to edit
    I saw this on digg the other day, and it worked then, but it's not working for me now :S
     
  4. cal_gundert05

    cal_gundert05 TPF Noob!

    Joined:
    Sep 27, 2006
    Messages:
    387
    Likes Received:
    0
    Can others edit my Photos:
    Photos NOT OK to edit
    As a rule, my first post starting a new thread never works. Try it again, and be sure you scroll to the top of the page after hitting Enter.
     
  5. Andrea K

    Andrea K TPF Noob!

    Joined:
    Dec 16, 2004
    Messages:
    2,025
    Likes Received:
    28
    Location:
    Philadelphia/North Carolina
    it's not working for me :(
     
  6. cal_gundert05

    cal_gundert05 TPF Noob!

    Joined:
    Sep 27, 2006
    Messages:
    387
    Likes Received:
    0
    Can others edit my Photos:
    Photos NOT OK to edit
    Aha! The problem is that because the "url" is so long, spaces are put in where they're not supposed in order to break it up into multiple lines so it will fit on the screen.

    If you really want to see it, paste it into the url bar, then go through it and delete the spaces where there are line breaks.

    Sorry that this has turned out to be such a disappointment.
     
  7. Puscas

    Puscas TPF Noob!

    Joined:
    Oct 7, 2006
    Messages:
    1,885
    Likes Received:
    3
    Location:
    Brooklyn NY

    still nothing...




    pascal
     
  8. Andrea K

    Andrea K TPF Noob!

    Joined:
    Dec 16, 2004
    Messages:
    2,025
    Likes Received:
    28
    Location:
    Philadelphia/North Carolina
    weee that was fun

    got it to work by removing the spaces
     

Share This Page

Search tags for this page
javascript swirling google
,

javascript swirling images

,
javascript swirling pictures
,

swirling photos google

,

swirling pictures javascript