Funny Code For Internet Explorer

Discussion in 'Gaming' started by Vicc, Apr 30, 2007.

  1. Vicc

    Vicc Well-Known Member

    Age:
    35
    Posts:
    68
    Likes Received:
    0
    Joined:
    Jan 7, 2007
    Location:
    New York
    paste this into your ie address bar and press enter. it's good to have many pictures on one page when you do this.
    Code:
    java script: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+'px'; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5+'px'}R++}setInterval('A()' ,5);void(0);
     
  2. .ZERO

    .ZERO Nigga wit a PSD

    Age:
    32
    Posts:
    2,220
    Likes Received:
    1
    Joined:
    May 28, 2006
    Location:
    #gamerenders
    been posted before I think, and theres a space in javascript that shouldnt be, still a nice find though =)
     
  3. GR.Konvict

    GR.Konvict Well-Known Member

    Age:
    18
    Posts:
    3,823
    Likes Received:
    0
    Joined:
    Jul 30, 2004
    Location:
    :o
    Nice one.
    Code:
    java script: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+'px'; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5+'px'}R++}setInterval('A()' ,5);void(0);
    without gaps :) Works in firefox too!
     
  4. Sycotic

    Sycotic Senior Member

    Age:
    30
    Posts:
    295
    Likes Received:
    0
    Joined:
    Oct 22, 2006
    Location:
    Brooklyn, New York
    Heh, I think I saw this on another forum before. It is really cool.
     
  5. GR.Konvict

    GR.Konvict Well-Known Member

    Age:
    18
    Posts:
    3,823
    Likes Received:
    0
    Joined:
    Jul 30, 2004
    Location:
    :o
  6. .Th1rt33n.

    .Th1rt33n. Senior Member

    Posts:
    328
    Likes Received:
    0
    Joined:
    Mar 15, 2007
    Doesnt work for me : /
     
  7. GR.Konvict

    GR.Konvict Well-Known Member

    Age:
    18
    Posts:
    3,823
    Likes Received:
    0
    Joined:
    Jul 30, 2004
    Location:
    :o
    [​IMG]
    Crappy paint screen shot lol
     
  8. Gacus

    Gacus Banned from GR

    Age:
    33
    Posts:
    7,014
    Likes Received:
    0
    Joined:
    Dec 3, 2005
    Location:
    Belgium
     
  9. Whatawhore.

    Whatawhore. Well-Known Member

    Age:
    30
    Posts:
    972
    Likes Received:
    0
    Joined:
    Jan 23, 2007
    Location:
    Canada
     
  10. GR.Konvict

    GR.Konvict Well-Known Member

    Age:
    18
    Posts:
    3,823
    Likes Received:
    0
    Joined:
    Jul 30, 2004
    Location:
    :o
    Goodluck with this
     
  11. Nicasus

    Nicasus Well-Known Member

    Posts:
    4,808
    Likes Received:
    0
    Joined:
    Oct 28, 2005
    Location:
    Somewhere
    I get an error.



    /edit:

    hehe, works now. You put a space between java and script.
    Pretty funny :)


    screen:
    [​IMG]
     
  12. GR.Konvict

    GR.Konvict Well-Known Member

    Age:
    18
    Posts:
    3,823
    Likes Received:
    0
    Joined:
    Jul 30, 2004
    Location:
    :o
    LOL yeah. There is an error in the code. It says "jave script" but it should be one word only. Delete the space. Also, this board won't let us post javascript as all one word, in a code block, for some reason lol. I edited my above posts with the code without the gap but it still doesn't allow it lol. Anyway, enjo! :)
     
  13. GuitarGuru

    GuitarGuru Well-Known Member

    Posts:
    1,250
    Likes Received:
    0
    Joined:
    Jan 31, 2006
    Location:
    Texas
    The correct thing is

    java script: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+'px'; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5+'px'}R++}setInterval('A()' ,5);void(0);

    This is a great find though :)

    EDIT: Wow it won't let me post javascript as one word there. But anyways just put javascript as one word
     
  14. GofC

    GofC Well-Known Member

    Posts:
    655
    Likes Received:
    0
    Joined:
    Apr 6, 2007
     
  15. johndapunk FTW

    johndapunk FTW Senior Member

    Age:
    32
    Posts:
    2,513
    Likes Received:
    0
    Joined:
    Jan 19, 2006
    Location:
    Palm Beach
    Posted before. He added the space because IPB filters about the word javascript.
     

Share This Page