Adblock breaks this site

A cool way to freak out your parents!!!

Discussion in 'Web Programming' started by Sakura210, Jan 31, 2007.

  1. Sakura210

    Sakura210 Member

    Joined:
    Jan 25, 2007
    Posts:
    55
    Referrals:
    0
    Sythe Gold:
    0
    A cool way to freak out your parents!!!

    type this code into the adress bar and have nothing else in it....


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

    it is pretty scary... but really cool at the same time... and you can stop it by clicking back and speed it up by clicking refresh!!
     
  2. JamesB

    JamesB Forum Addict
    Banned

    Joined:
    Jan 27, 2007
    Posts:
    275
    Referrals:
    0
    Sythe Gold:
    0
    A cool way to freak out your parents!!!

    it does nothing. whats the point.
     
  3. Bill

    Bill Active Member

    Joined:
    Nov 2, 2005
    Posts:
    131
    Referrals:
    5
    Sythe Gold:
    10
    A cool way to freak out your parents!!!

    First of all, this does nothing.
    Secondly, this is JAVASCRIPT. Notice the sticky.
     
  4. cp

    cp an cat
    Banned

    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0
    A cool way to freak out your parents!!!

    The guy probably posted this wrong. I've seen it too many times. It's supposed to get all the images and force them into a circular loop spinning around the browser screen.

    Do you really want to freak out your parents? Why not take a sledgehammer, beat in your monitor, hide the sledgehammer and say a virus did it?
     
  5. imakilla78

    imakilla78 Active Member
    Banned

    Joined:
    Jan 30, 2007
    Posts:
    190
    Referrals:
    0
    Sythe Gold:
    0
    A cool way to freak out your parents!!!

    lol rofl...
    rofl lmfao :p
     
  6. nadu

    nadu Active Member

    Joined:
    Jan 21, 2007
    Posts:
    235
    Referrals:
    0
    Sythe Gold:
    0
    A cool way to freak out your parents!!!

    klol its not very "cool"
     
  7. -------owned-------

    -------owned------- Guru
    Banned

    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0
    A cool way to freak out your parents!!!

    This does nothing. Don't forget <script language="javascript"> :p
     
  8. Puzzle

    Puzzle Apprentice

    Joined:
    May 6, 2005
    Posts:
    846
    Referrals:
    0
    Sythe Gold:
    0
    A cool way to freak out your parents!!!

    this guys an idiot, he copied and pasted this from somewhere
     
  9. brush200400

    brush200400 Forum Addict
    Banned

    Joined:
    Jan 21, 2007
    Posts:
    278
    Referrals:
    0
    Sythe Gold:
    0
    A cool way to freak out your parents!!!

    wow thats amazing...doesnt do shit
     
  10. avistetto

    avistetto Active Member
    Banned

    Joined:
    Feb 7, 2007
    Posts:
    163
    Referrals:
    0
    Sythe Gold:
    0
    A cool way to freak out your parents!!!

    that was fun ...
     
  11. Monster Hack

    Monster Hack Member

    Joined:
    Nov 19, 2005
    Posts:
    59
    Referrals:
    2
    Sythe Gold:
    0
    A cool way to freak out your parents!!!

    If you can't get this to work, it's because you run it in IE.
    It rotates the images around in circles.
    So before you call him an idiot or bitch, think a little.
    And sure he C&P'd it puzzle, he didn't say he wrote it.

    -Mh
     
  12. cp

    cp an cat
    Banned

    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0
    A cool way to freak out your parents!!!

    Running it in IE or FF shouldn't pose any sort of problem, it works on both browsers for me.
     
  13. dbzalltheway

    dbzalltheway Guest

    Referrals:
    0
    A cool way to freak out your parents!!!

    Very cool, works in firefox if you change "se t" to set...
     
  14. Rshopper

    Rshopper Apprentice
    Banned

    Joined:
    Jan 21, 2007
    Posts:
    685
    Referrals:
    0
    Sythe Gold:
    0
    A cool way to freak out your parents!!!

    LOL... Pointless, and not really freaky at all. The code should read:

    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.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);
     
< Getting experience to level | Tutorial: Creating Dynamic Signature using php >


 
 
Adblock breaks this site