Results 1 to 13 of 13

Thread: Slightly amusing

  1. #1
    Join Date
    15th January 2005 - 11:00
    Bike
    Zilch
    Location
    Dirty ol' Nappies
    Posts
    1,049

    Slightly amusing

    Go to google images and do an image search on anything you want.
    Once the image page loads with your search, copy the following text into the address bar at the top, replacing the URL.

    This is the javascript.
    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(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterv al('A()',5); void(0);

    It's mildly amusing for a while.

    Peace hath higher tests of manhood

    than battle ever knew.

  2. #2
    Join Date
    2nd December 2006 - 23:09
    Bike
    have to keep it in my gun safe.
    Location
    out of visual contact
    Posts
    358
    Ummmm, nothing happened.
    Never let your enemy see your emotions, for it is the one weapon they will value most.



  3. #3
    Join Date
    26th January 2006 - 18:14
    Bike
    .
    Location
    Wellington
    Posts
    1,527
    "Internet Explorer cannot download. Unspecified error."

  4. #4
    Join Date
    21st October 2006 - 09:09
    Bike
    Whatever I beg/borrow
    Location
    Papakura, Auckland
    Posts
    1,308
    What he said...
    At the 2007 Westpac Ride:

    Donor: So ya glad you're a Biker?

    Minnie: F**k yeah!

  5. #5
    Join Date
    9th May 2007 - 11:14
    Bike
    A dirty black one.
    Location
    Marlbrough Sounds
    Posts
    1,622
    Bwahahahahahaha, thats brilliant!



    I don't get it?
    "I came into this game for the action, the excitement... go anywhere, travel light,... get in, get out,... wherever there's trouble, a man alone... Now they got the whole country sectioned off; you can't make a move without a form."

    Paved roads are just another example of wasted tax payer dollars.

  6. #6
    Join Date
    13th November 2006 - 22:22
    Bike
    Suzuki Marauder VZ800
    Location
    Auckland
    Posts
    616
    The code snippet is incomplete. See this article if you want the details... or google yer own!
    Redefining slow since 2006...

  7. #7
    Join Date
    21st October 2006 - 09:09
    Bike
    Whatever I beg/borrow
    Location
    Papakura, Auckland
    Posts
    1,308
    Is this an IE only thing?

    Cos I'll never know the time wasting joys otherwise...

    'less ya count the numerous tries in Firefox...
    At the 2007 Westpac Ride:

    Donor: So ya glad you're a Biker?

    Minnie: F**k yeah!

  8. #8
    Join Date
    5th December 2006 - 18:22
    Bike
    2000 Honda CBR600F4, RG50/GL145 Bucket
    Location
    Whitby, Wellington
    Posts
    2,009
    Quote Originally Posted by rainman View Post
    The code snippet is incomplete. See this article if you want the details... or google yer own!
    Nup, that didn't work for me either (IE7)

  9. #9
    Join Date
    24th September 2006 - 02:00
    Bike
    -
    Location
    -
    Posts
    4,736
    He missed about half of it. Here's the lot:

    Code:
    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(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0);
    It won't just work on Google Images; it'll work on most pages as it just cycles through the images in the page's DOM.

  10. #10
    Join Date
    8th October 2007 - 14:58
    Bike
    Loud and hoony
    Location
    Now
    Posts
    3,215
    That becomes old pretty quickly though...

    Reminds me a bit of an old C64 game!
    It is preferential to refrain from the utilisation of grandiose verbiage in the circumstance that your intellectualisation can be expressed using comparatively simplistic lexicological entities. (...such as the word fuck.)

    Remember your humanity, and forget the rest. - Joseph Rotblat

  11. #11
    Join Date
    15th January 2005 - 11:00
    Bike
    Zilch
    Location
    Dirty ol' Nappies
    Posts
    1,049
    Well it worked for me. In firefox.
    No problems.

    Peace hath higher tests of manhood

    than battle ever knew.

  12. #12
    Join Date
    29th September 2006 - 09:44
    Bike
    Soursaki
    Location
    Oto Bro
    Posts
    321
    Quote Originally Posted by Mikkel View Post
    That becomes old pretty quickly though...

    Reminds me a bit of an old C64 game!
    Yeah, use to programme basic into the C64 and make a ball bounce around the screen. Was pretty cool for a 7 year old in 1984.

  13. #13
    Join Date
    2nd December 2006 - 23:09
    Bike
    have to keep it in my gun safe.
    Location
    out of visual contact
    Posts
    358
    Thats pretty cool, worked for me now.
    Never let your enemy see your emotions, for it is the one weapon they will value most.



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •