Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8

Thread: Joke

  1. #1
    Regular Coder
    Join Date
    Dec 2004
    Posts
    202
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Joke

    I am trying to preform a joke with my friend for a website what i want it to do is that when ever they leave it will reopen the page. but so far the only problem is i don't know how to do something like that. a simple script for an example would be nice for me. and thank you for anyone who helps me

  • #2
    teh Moderatorinator
    Join Date
    Sep 2004
    Location
    USA
    Posts
    2,472
    Thanks
    4
    Thanked 40 Times in 40 Posts
    Nope, I doubt you'll find anyone around here to help you with something like that...

    It's not even a little bit funny....

  • #3
    Regular Coder
    Join Date
    Dec 2004
    Posts
    202
    Thanks
    0
    Thanked 0 Times in 0 Posts
    no the poping back up part isn't the funny part it is what i am putting on the site i just want it so that there stuck there for a bit

  • #4
    Senior Coder
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    1,315
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Does he use Firefox? If so, I've just this minute devised a devious plan I'm going to use against a coworker of mine.

    Install the Greasemonkey extension. Then install a Javascript that adds an image or something to every web page they view.

    BWAHAHAAA! I've so gotta do this.
    Forget style. Code to semantics. Seperate style from structure, and structure from behaviour.
    I code to specs, and test only in Firefox (unless stated otherwise).

  • #5
    Regular Coder
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    375
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Speaking of Jokes . . .

    Code:
    <noscript><!-- hide from older browsers
    document.write('Your browser doesn\'t support javascript')
    //--> end hiding
    </noscript>
    I think my joke is funnier than yours.
    Last edited by jscheuer1; 07-06-2005 at 08:08 AM.

  • #6
    Regular Coder
    Join Date
    Feb 2005
    Posts
    400
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Editing someone's user stylesheet (userContent.css for Firefox, name varies for IE) is fun. Make all images 16px by 16px, have links disappear when hovered, bold and italics get colorful backgrounds, paragraphs have tiny text in an unreadable font, etc, etc. Only takes seconds to do (or undo), but screws with every page.

  • #7
    Senior Coder
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    1,315
    Thanks
    0
    Thanked 2 Times in 2 Posts
    I did it and he's not happy at all. It adds a fixed image to the bottom-right of every page. The image is hosted on my computer so I can change it. Right now it's his head in front of a bright yellow sun-burst.

    Classic.
    Forget style. Code to semantics. Seperate style from structure, and structure from behaviour.
    I code to specs, and test only in Firefox (unless stated otherwise).

  • #8
    Regular Coder ArcticFox's Avatar
    Join Date
    Jan 2004
    Location
    Vostok Station, AQ
    Posts
    602
    Thanks
    35
    Thanked 3 Times in 3 Posts

    Internet Explorer

    Quote Originally Posted by jscheuer1
    Code:
    <noscript><!-- hide from older browsers
    document.write('Your browser doesn\'t support javascript')
    //--> end hiding
    </noscript>
    LMAO! That's the funniest thing I've seen all week!




    Quote Originally Posted by Brandoe85
    Nope, I doubt you'll find anyone around here to help you with something like that...
    Take a pill, Brandoe. Let 'em do it, they'll learn eventually. We don't need to supress anyone's "creativity" for any reasons. Besides, being evil is fun!

    http://lab.artlung.com/scripting/onu...dow-open-evil/
    <div> - putting your mind in a box since 1997


  •  

    Posting Permissions

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