Why isn't this jquery window working?
<p>I'm trying to just get this to run: <a href="http://fstoke.me/jquery/window/" rel="nofollow">http://fstoke.me/jquery/window/</a> (<em>Example 2 Specifically</em>)</p>

<p>My code:</p>

<pre><code>&lt;html&gt;

    &lt;head&gt;
    &lt;title&gt;Example of Windows&lt;/title&gt;
    &lt;link rel="stylesheet" type="text/css" href="window.css" /&gt;
    &lt;script type="text/javascript" src="jquery.js"&gt; &lt;/script&gt;
    &lt;script type="text/javascript" src="window.js"&gt; &lt;/script&gt;
    &lt;/head&gt;

    &lt;body&gt;
    &lt;script type='text/javascript'&gt;
    $.window({
   showModal: true,
   modalOpacity: 0.5,
   icon: "http://www.fstoke.me/favicon.ico",
   title: "Professional JavaScript for Web Developers",
   content: $("#window_block2").html(), // load window_block2 html content
   footerContent: "&lt;img style="vertical-align:middle;" src="img/star.png"&gt; This is a nice plugin :^)";
});
    &lt;/script&gt;


    &lt;div id="example2" class='example_block'&gt; 
            &lt;h3&gt;Demo&lt;/h3&gt; 
            &lt;div class='demo'&gt; 
                &lt;div id='window_block2' style='display:none;'&gt; 
                    &lt;div style='padding:10px;'&gt; 
                        &lt;div style='font-size:24px; font-weight:bold; margin-bottom:10px; color:#44aaff;'&gt;Introduction&lt;/div&gt; 
                        &lt;img style='border:0; float:left; margin:10px;' src='http://lh5.ggpht.com/_W-5oCUN3-sQ/TNUfmAY_mFI/AAAAAAAADwc/Dav33v1iBlY/s144/Professional%20JavaScript%20for%20Web%20Developers.jpg'/&gt; 
                        &lt;div&gt; 
                            If you want to achieve JavaScript's full potential, it is critical to understand its nature, history, and limitations. 
                            This book sets the stage by covering JavaScript from its very beginning to the present-day incarnations that include 
                            support for the DOM and Ajax. It also shows you how to extend this powerful language to meet specific needs and create
                            seamless client-server communication without intermediaries such as Java or hidden frames.
                        &lt;/div&gt; 
                    &lt;/div&gt; 
                &lt;/div&gt; 
                &lt;input type='button' value='Click Here to Create Window' onclick='createWindowWithHtml();'/&gt; 
            &lt;/div&gt; 
        &lt;/div&gt; 

    &lt;/body&gt;

&lt;/html&gt;
</code></pre>

<p>Error: When I click the button, it does nothing! Anyone see any problems here? I feel like it might have to do with the embedded script.</p>

<p>Page now loads... just looks like this as if its firing the event when you onload, instead of when you click the buttton is something out of order here?
<img src="http://i.stack.imgur.com/cBrGy.jpg" alt="img"></p>

<p>Anyone?!</p>
