Return to home  

Remembering Michael Jackson, King of Pop (1958 - 2009)

« Vanity | Home | Happy Halloween 2006! »

Friday, October 27, 2006

Awesome Image Script

hey people, courtesy of spluch i found this really awesome image javascript from stopgeek.com.

copy and paste the following into your address bar:

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

go ahead. try it, and be wowed. it’s really neat! (if you don’t see anything, try scrolling all the way up.)

Posted by Veron Posted by Veron · Category Tech category · Total number of reads 4,094 views

possibly related posts



  • No Related Post


  • like this post?




    Email this post to a friend Email this post to a friend
    Print-friendly version Print this post
    Subscribe to RSS feed Subscribe to RSS feed
    Subscribe via email Subscribe via email






    6 responses

    1. uzyn says:

      Hehe yeah. Pretty cool.

      This was on Digg’s frontpage at least twice.

    2. Vic says:

      Hehe, glad you guys enjoyed the little script.
      Its specially funny when you try it on a forum with a lot of smilies. Its almost scary.

    3. Veron says:

      Wow uzyn, this made front page news and I only knew of it today… But seriously, it’s the coolest image effect I’ve seen in javascripts so far.

    4. Veron says:

      Yo Vic, thanks for dropping by! I should try this with smilies some time.

    5. changing says:

      i just accidental get here !
      it’s really beautiful here!
      oh,i am a chinese gril!
      i am searching a website where i can download the English script.
      would you mind to give me a hand ?
      give me some good webs about the download of script!
      thanks!

    6. geetha says:

      Hey, I just tried your image script but nothing happens… y????




    leave a comment




    Open in new window
    Subscribe to RSS feed


    Archives Full listing
    i am well-versed in css, xhtml, wordpress and photoshop, and have designed for government statutory boards, universities, various businesses and web 2.0 websites. if you need any design work done, do feel free to Email