User Tag List

Results 1 to 9 of 9

Thread: My html fart button

  1. #1
    My html fart button

    User Info Menu

    My html fart button

    Must have html enabled to see visit fartbutton**** for the page i did but i am doing this for school if you would like a specific image to play a specific sound tell me and ill do it for some vbucks or something

    <span id="dummy"></span>
    <html>
    <body>
    <head>
    <script language="javascript" type="text/javascript">
    function playSound(soundfile) {
    document.getElementById("dummy").innerHTML=
    "<embed src=\""+soundfile+"\" hidden=\"true\" autostart=\"true\" loop=\"false\" />";
    }
    </script>
    </head>

    <center><a href="#" onclick="playSound('http://www.tradebit.com/filedetail.php/829562-fart-sound-effect-2-wav');"><img src="http://www.terminally-incoherent.com/blog/wp-content/uploads/2007/09/redbutton.jpg"></a></center>
    </body>
    </html>
    Last edited by Chives; 10-31-2009 at 04:48 PM.

  2. #2
    My html fart button

    User Info Menu

    Re: My html fart button

    i think you mean...

    Quote Originally Posted by Chives View Post
    <span id="dummy"></span>
    <html>
    <body>
    <head>
    < language="" type="/javascript">
    function playSound(soundfile) {
    document.getElementById("dummy").innerHTML=
    "<embed src=\""+soundfile+"\" =\"true\" autostart=\"true\" loop=\"false\" />";
    }
    </script>
    </head>

    <center><a href="#" onclick="playSound('http://www.tradebit.com/filedetail.php/829562-fart-sound-effect-2-wav');"><img src="http://www.terminally-incoherent.com/blog/wp-content/uploads/2007/09/redbutton.jpg"></a></center>
    </body>
    </html>

  3. #3
    My html fart button

    User Info Menu

    Re: My html fart button

    What are you talking about why would i make it red?

  4. #4
    My html fart button

    User Info Menu

    Re: My html fart button

    Quote Originally Posted by Chives View Post
    What are you talking about why would i make it red?
    You closed the html before the body.
    .:: DO YOUR PART - Remember to press the Report Button for posts that need moderation. ::.
    .::Forum Rules | List of Demands Part II ::.

    Rep :<Current>(230) + <Previous>(207)= <Total>(437)
    AdamAndersen aka Pink Floyd
    [12-03, 18:47] taking it in the ass IS...
    [12-03, 18:47] giving sex to another man isn't exactly gay...
    [12-03, 18:45] ill suck your dick if you suck mine. dealio?

    Adam Andersen: I give him a hug every night after we make love.

    Rigalic Reign: I too had a sexual encounter with a female in kindergarten
    CoDeX: Don't talk about last week.

    [Today 03:56 PM] Sneaky Poptart: They haven't dropped yet?
    [Today 03:24 PM] BioHazardouz: My nuts
    [Today 01:42 PM] RageRaft: Whats up guys.

    When in doubt. Get the f*ck out!

    CoDeX is like buttsecks. Some people like him. Most think he is a pain in the ass.

  5. #5
    My html fart button

    User Info Menu

    Re: My html fart button

    Is there a way to place that in my sig

  6. #6
    My html fart button

    User Info Menu

    Re: My html fart button

    Quote Originally Posted by Chives View Post
    Is there a way to place that in my sig
    only if your staff.
    .:: DO YOUR PART - Remember to press the Report Button for posts that need moderation. ::.
    .::Forum Rules | List of Demands Part II ::.

    Rep :<Current>(230) + <Previous>(207)= <Total>(437)
    AdamAndersen aka Pink Floyd
    [12-03, 18:47] taking it in the ass IS...
    [12-03, 18:47] giving sex to another man isn't exactly gay...
    [12-03, 18:45] ill suck your dick if you suck mine. dealio?

    Adam Andersen: I give him a hug every night after we make love.

    Rigalic Reign: I too had a sexual encounter with a female in kindergarten
    CoDeX: Don't talk about last week.

    [Today 03:56 PM] Sneaky Poptart: They haven't dropped yet?
    [Today 03:24 PM] BioHazardouz: My nuts
    [Today 01:42 PM] RageRaft: Whats up guys.

    When in doubt. Get the f*ck out!

    CoDeX is like buttsecks. Some people like him. Most think he is a pain in the ass.

  7. #7
    My html fart button

    User Info Menu

    Re: My html fart button

    Dang lol im still modding it im only 13 and i needed to learn something lol

  8. #8
    My html fart button

    User Info Menu

    Re: My html fart button

    Quote Originally Posted by Chives View Post
    Dang lol im still modding it im only 13 and i needed to learn something lol
    obj-c or even ruby!

  9. #9
    My html fart button

    User Info Menu

    Re: My html fart button

    it errors

    Code:
    < language="" type="/javascript"> function playSound(soundfile) { document.getElementById("dummy").innerHTML= ""; }
    and its lame

Tags for this Thread

Bookmarks

Posting Permissions

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