How to add window mouseup event to this javascript toggle

Hi guys,

I've tried pure CSS show/hide event, but it isn't cool and isn't lived up to modern web trend.
So I get back to JavaScript and I've got struck on how to mix these two events together.

Here's the code I've tried so far:

<!DOCTYPE html>
<html>
    <head>
        <style>
            #showme { display: none; }
        </style>
    </head>
    <body>
        <div id=button>Button</div>
        <div id=showme>
            I'm revealed!
        </div>
        <script>...
Code (markup):
How to add window mouseup event to this javascript toggle

from JavaScript http://ift.tt/20ygkGc
via IFTTT
Previous
Next Post »
Thanks for your comment