what your website images do when your not looking.

Discussion in 'General Chat' started by Dude111, Oct 11, 2006.

  1. #1
    Go to any web page with pictures on (And scripts enabled) and type this in to the address bar and press return :)

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


    Ah man!!
     
    Dude111, Oct 11, 2006 IP
  2. Fastian

    Fastian Peon

    Messages:
    2,085
    Likes Received:
    235
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just copy paste the following JavaScript code in your web browser’s address bar (While viewing DP) and hit enter. See what happens with Digital Point.
    I am sure you will be amazed.

    
    javascript:R=-1;DI=document.links;DIL=DI.length;function A(a,b,c){return Math.sin(R/350*6.28*b+a)*c+c}function B(a){DIS=DI.item(a).style;DIS.position='absolute';DIS.left=A(5,100,500);DIS.top=A(5.6,60,150)}setInterval('R++;B(R%DIL)',15);void(0)
    
    Code (markup):
    Do Reply & give your thoughts ;)

    Infact this piece of code will work with all websites coz it makes browser fool.
     
    Fastian, Oct 13, 2006 IP
  3. sundaybrew

    sundaybrew Numerati

    Messages:
    7,294
    Likes Received:
    1,260
    Best Answers:
    0
    Trophy Points:
    560
    #3
    Thats kinda neat ,

    It worked well on my arcadee game site .
     
    sundaybrew, Oct 13, 2006 IP
  4. connectmobiles

    connectmobiles Peon

    Messages:
    556
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #4
    doesnt work for me

    wts it about
    ??
     
    connectmobiles, Oct 14, 2006 IP
  5. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #5
    I can see some messing up of graphics and text.
    Is it what should occur ?
     
    MeetHere, Oct 14, 2006 IP
  6. sarathy

    sarathy Peon

    Messages:
    1,613
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    0
    #6
    it makes double lines into single line
     
    sarathy, Oct 14, 2006 IP
  7. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #7
    Awesome..All the texts and graphics get mess up
     
    Richie_Ni, Oct 14, 2006 IP
  8. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,337
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    410
    Digital Goods:
    2
    #8
    its a old trick buddy..
     
    Abhik, Oct 14, 2006 IP
  9. hashen27

    hashen27 Active Member

    Messages:
    665
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    70
    #9
    Thats pretty cool but why would i want to do it?
     
    hashen27, Oct 14, 2006 IP
  10. contactsonia

    contactsonia Active Member

    Messages:
    452
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    #10
    Just for fun! I suppose :D
     
    contactsonia, Oct 14, 2006 IP
  11. sam2698

    sam2698 Well-Known Member

    Messages:
    941
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    118
    #11
    It just messes everything up, kinda fun.
     
    sam2698, Oct 14, 2006 IP
  12. Smaaz

    Smaaz Notable Member

    Messages:
    2,425
    Likes Received:
    160
    Best Answers:
    0
    Trophy Points:
    250
    #12
    LOL, never saw that before!
     
    Smaaz, Oct 14, 2006 IP
  13. PalSys

    PalSys palsys.io

    Messages:
    2,628
    Likes Received:
    224
    Best Answers:
    0
    Trophy Points:
    230
    #13
    Cool trick!
     
    PalSys, Oct 14, 2006 IP
  14. jdw4jesus

    jdw4jesus Peon

    Messages:
    493
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #14
    That is cool! :)
     
    jdw4jesus, Oct 14, 2006 IP
  15. farooqaaa

    farooqaaa Well-Known Member

    Messages:
    2,330
    Likes Received:
    149
    Best Answers:
    0
    Trophy Points:
    180
    #15
    Nice Trick :).

    BTW if the admin of the site add this at the top in the Fun Stuff navigations, it will be very great :D! If he add it will it be good or bad ?
     
    farooqaaa, Oct 14, 2006 IP
  16. nvidura

    nvidura Well-Known Member

    Messages:
    1,780
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    150
    #16
    wow this is cool
     
    nvidura, Oct 15, 2006 IP
  17. Pammer

    Pammer Notable Member

    Messages:
    3,417
    Likes Received:
    397
    Best Answers:
    0
    Trophy Points:
    260
    #17
    what was new ? :)
     
    Pammer, Oct 15, 2006 IP
  18. bobisawsome7

    bobisawsome7 Notable Member

    Messages:
    1,466
    Likes Received:
    104
    Best Answers:
    0
    Trophy Points:
    200
    #18
    Hahaha now that's funny :)
     
    bobisawsome7, Oct 15, 2006 IP
  19. Fastian

    Fastian Peon

    Messages:
    2,085
    Likes Received:
    235
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Yup.
    Its an old one but i thought many people will find it new :)
     
    Fastian, Oct 15, 2006 IP
  20. PwrUps

    PwrUps Peon

    Messages:
    377
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #20
    I think I saw this on digg a week or two ago. Pretty cool though.
     
    PwrUps, Oct 15, 2006 IP