Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Nice Little Javascript Trick

  1. #1
    Join Date
    Dec 2005
    Posts
    1,951
    Rep Power
    0

    Default Nice Little Javascript Trick

    Load a site that has alot of images, like flick or google image search.

    Insert this code into your browser and watch the images spin on your screen.



    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)
    Pc= Hp dv6t

  2. #2
    Join Date
    Sep 2006
    Posts
    2,528
    Rep Power
    0

    Default

    nice the thingy start spin outta control moving like rocket it start slow then fast
    Confucius say..Man who fight with wife all day, get no piece at night!
    Quote Originally Posted by Gillion View Post
    Your task as member of the elite is to educate, no matter how hard it is.
    No one can do all their own homework all the time. That is why people communicate and collaborate on forums.

  3. #3
    Join Date
    Dec 2005
    Posts
    1,951
    Rep Power
    0

    Default

    amusing aint it..............lol
    Pc= Hp dv6t

  4. #4
    Join Date
    Dec 2004
    Posts
    1,181
    Rep Power
    0

    Default

    That just blows the mind. I was just reading a book on javascript and doing some practice in Dreamweaver. This is definitely motivation.
    'If we're supposed to work in Hex, why have we only got A fingers?'

    Follow Me: @psybuck2002us

  5. #5
    Join Date
    Dec 2005
    Posts
    1,951
    Rep Power
    0

    Default

    I just downloaded about 5 java ebooks, damn some are 800 pages long. How am i gonna learn java if the ebooks are so drawn out...! (sigh)
    Pc= Hp dv6t

  6. #6
    Join Date
    Jul 2004
    Posts
    2,250
    Rep Power
    0

    Default

    Quote Originally Posted by mobile_fan_2k5 View Post
    I just downloaded about 5 java ebooks, damn some are 800 pages long. How am i gonna learn java if the ebooks are so drawn out...! (sigh)
    wow 800 page ebook. my eyes hurt just thinking about it!
    The price of anything is the amount of life you exchange for it.
    Henry David Thoreau

  7. #7
    Join Date
    Dec 2004
    Posts
    1,181
    Rep Power
    0

    Default

    Quote Originally Posted by mobile_fan_2k5 View Post
    I just downloaded about 5 java ebooks, damn some are 800 pages long. How am i gonna learn java if the ebooks are so drawn out...! (sigh)
    When I am looking for ebooks nowadays, I try to look for those in the 300-500 page region. Trust me, you will never finish an 800 page ebook. You will get bored of it before you do.
    'If we're supposed to work in Hex, why have we only got A fingers?'

    Follow Me: @psybuck2002us

  8. #8
    Join Date
    Oct 2006
    Posts
    1,575
    Rep Power
    0

    Default

    Wow this is wicked insane dude. why does it amuses me so much. lol probably because of the genious in the coding
    knowledge is not limited to one persons point of view as a result learning take place, also confrontations
    Digicel
    The Bigger, Better, Network.

    Confucius say.. man who smoke pot, choke on handle.
    Confucius say.. man who raise hands to angry child, leave groin exposed.
    Confucius say.. man who pull woman's bra strap, may get bust in face.
    Confucius say.. man who put face in punchbowl, get punch in nose.
    Confucius say.. foolish man give wife grand piano, wise man give wife upright organ.

  9. #9
    Join Date
    Feb 2007
    Posts
    2,656
    Rep Power
    0

    Default

    someofab1tch...............dats hot.
    how the heck did u do it
    i love my country, but i fear my elected officials
    Call me on 3538447.
    topdogclu @ hotmail.com

  10. #10
    Join Date
    Nov 2006
    Posts
    8
    Rep Power
    0

    Default

    okay. that sounds cool, could you post a link to a site that uses this code ( don't want to have to create one myself, lazy .

Posting Permissions

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