Everything is spinning!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jim Boyd
    Veteran Member
    • Dec 2002
    • 1766
    • Montgomery, Texas, USA.
    • Delta Unisaw

    #1

    Everything is spinning!

    Step 1. Go to the BTCentral main page.
    Step 2. Copy the following and paste it in the url window.

    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++}se tInterval('A()',5); void(0);

    Step 3. Press the "ENTER" key.
    Step 4. Watch as everything spins
    Last edited by Jim Boyd; 10-29-2006, 07:12 AM.
    Jim in Texas and Sicko Ryobi Cult Member ©
  • cabinetman
    Gone but not Forgotten RIP
    • Jun 2006
    • 15216
    • So. Florida
    • Delta

    #2
    I tried to do what you explained, and nothing happened. Does "javascript" go with the paste? The URL you mentioned is it the one at the top with the "go" button to the right?



    "I'M NEVER WRONG - BUT I'M NOT ALWAYS RIGHT"

    Comment

    • boblon
      Senior Member
      • Aug 2003
      • 727
      • Florida, USA.

      #3
      There's a missin ; and an extra space, use:

      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++};s etInterval('A()',5); void(0);

      BobL.
      "Good judgement comes from experience. Experience comes from poor judgement."

      Comment

      • Jim Boyd
        Veteran Member
        • Dec 2002
        • 1766
        • Montgomery, Texas, USA.
        • Delta Unisaw

        #4
        Doesn't work for me now either
        Jim in Texas and Sicko Ryobi Cult Member ©

        Comment

        • TJG
          Forum Newbie
          • Mar 2006
          • 57

          #5
          Try this version, it should fix the problems.

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

          Comment

          • radhak
            Veteran Member
            • Apr 2006
            • 3061
            • Miramar, FL
            • Right Tilt 3HP Unisaw

            #6
            Originally posted by TJG
            Try this version, it should fix the problems.

            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);
            Impressive - it did work this time, and that too on Firefox 2.0!
            Of course, while it is spinning, none of the buttons on the page show (reply / quote/ etc).

            Tried it on other URLs - works on news.google.com, my.yahoo.com (though here it sort of spirals instead of spinning), but not on gmail.com
            It is the mark of an educated mind to be able to entertain a thought without accepting it.
            - Aristotle

            Comment

            Working...