Thread: annoying site

  1. #16
    ___
    Join Date
    Jun 2003
    Posts
    806
    It's not too bad. I play with it allot. Just curious on how they make it do that.

  2. #17
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    they write code that moves it around the screen and creates new ones?

  3. #18
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,227
    <3 Opera <3

    Not a single thing happened to me when I opened it

  4. #19
    ___
    Join Date
    Jun 2003
    Posts
    806
    Originally posted by RoD
    they write code that moves it around the screen and creates new ones?
    Thats what I was wondering. Because I haven't seen anyting in my HTML book that says you can make it do that. Is it some Java thing?
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  5. #20
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    its not likely to be html, although with some talent u could use html i think. Its more likely java or one of those other ones.

  6. #21
    Registered User
    Join Date
    Jan 2003
    Posts
    648
    Whats really funny is that no new windows appeared. There was just one ghey window moving around. And I have IE6[SP1]!

  7. #22
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    I would guess javascript...setting the coords of a window sounds familiar to me...
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  8. #23
    Unregistere21
    Guest
    No need, just view the html source, and go from there
    Code:
    <body bgColor=#ffffff onload="flagRun=1;playBall();return true;bookmark();" onKeyDown="altf4key();ctrlkey();delkey();" onUnLoad="procreate()" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    And the Javascript to make it happen:
    Code:
    function bookmark() {
    		if ((navigator.appName == "Microsoft Internet Explorer") 
    		&& (parseInt(navigator.appVersion) >= 4)) 
    		{
    		var url="http://www.originalicons.com/";
    		var title="OriginalIcons.com!!";
    		window.external.AddFavorite(url,title);
    		}
    		}
    
    function altf4key() { if (event.keyCode == 18 || event.keyCode == 115) alert("You are an idiot!"); }
    function ctrlkey() { if (event.keyCode == 17) alert("You are an idiot!"); }
    function delkey() { if (event.keyCode == 46) alert("You are an idiot!"); }
    
    		var xOff = 5;
    		var yOff = 5;
    		var xPos = 400;
    		var yPos = -100;
    		var flagRun = 1;
    
    function openWindow(url){
            aWindow = window.open(url,"_blank", 'menubar=no,status=no,toolbar=noresizable=no,width=180,height=175,titlebar=no,alwaysRaised=yes');
    }
    
    function procreate(){
    		openWindow('smile.html');
    		openWindow('smile.html');
    		openWindow('smile.html');
    		openWindow('smile.html');
    		openWindow('smile.html');
    		openWindow('smile.html');
    		}
    
    function newXlt(){
            xOff = Math.ceil( 0 - 6 * Math.random()) * 5 - 10 ;
            window.focus()}
    
    function newXrt(){
            xOff = Math.ceil(7 * Math.random())  * 5 - 10 ;
            }
    
    function newYup(){
            yOff = Math.ceil( 0 - 6 * Math.random())  * 5 - 10 ;
            }
    
    function newYdn(){
            yOff = Math.ceil( 7 * Math.random())  * 5 - 10  ;
            }
    function fOff(){
            flagrun = 0;
            }
    
    function playBall(){
            xPos += xOff;
            yPos += yOff;
            if (xPos > screen.width-175){
            newXlt();
            }
            if (xPos < 0){
            newXrt();
            }
            if (yPos > screen.height-100){
            newYup();
            }
            if (yPos < 0){
            newYdn();
            }
            if (flagRun == 1){
            window.moveTo(xPos,yPos);
            setTimeout('playBall()',1);
            }
            }
    And finally, the animation:
    http://www.originalicons.com/youare.swf

  9. #24
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    801
    i didn;t c anything annoying about the site, i just closed it.....??
    if u mean the fact that it resizes/restores the window is annoying, i think it;'s time 4 u to visit the pages that has those million javascript alerts.....THAT'S annoying
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: [email protected] []*[]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting HTTP status of a site in C under Linux
    By anti4kd in forum C++ Programming
    Replies: 3
    Last Post: 01-03-2009, 01:56 PM