JQuery Contact Modal Plugin doesnt run from Visual Studio Casini browser nor IIS
<p>Im trying to just run the demo from Visual Studio, with its built-in Casini Browser as well as IIS, and its not firing at all.</p>

<p>However, this DOES work if I just fire-up the HTML from the zip file.</p>

<p>To run the demo doesnt require any web server with PHP enabled because the HTML is modified slightly.  </p>

<p>Here is the slightly modified HTML:</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt; SimpleModal Contact Form &lt;/title&gt;
&lt;meta name='author' content='Eric Martin' /&gt;
&lt;meta name='copyright' content='2010 - Eric Martin' /&gt;

&lt;!-- Page styles --&gt;
&lt;link type='text/css' href='css/demo.css' rel='stylesheet' media='screen' /&gt;

&lt;!-- Contact Form CSS files --&gt;
&lt;link type='text/css' href='css/contact.css' rel='stylesheet' media='screen' /&gt;

&lt;!-- JS files are loaded at the bottom of the page --&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id='container'&gt;
&lt;div id='logo'&gt;
    &lt;h1&gt;Simple&lt;span&gt;Modal&lt;/span&gt;&lt;/h1&gt;
    &lt;span class='title'&gt;A Modal Dialog Framework Plugin for jQuery&lt;/span&gt;
&lt;/div&gt;
&lt;div id='content'&gt;
    &lt;div id='contact-form'&gt;
        &lt;h3&gt;Contact Form&lt;/h3&gt;
        &lt;p&gt;A contact form built on SimpleModal. Demonstrates the use of the &lt;code&gt;onOpen&lt;/code&gt;, &lt;code&gt;onShow&lt;/code&gt; and &lt;code&gt;onClose&lt;/code&gt; callbacks, as well as the use of Ajax with SimpleModal.&lt;/p&gt;
        &lt;p&gt;To use: open &lt;code&gt;data/contact.php&lt;/code&gt; and modify the &lt;code&gt;$to&lt;/code&gt; and &lt;code&gt;$subject&lt;/code&gt; values. To enable/disable information about the user, configure the &lt;code&gt;$extra&lt;/code&gt; array.&lt;/p&gt;
        &lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This demo must be run from a web server with PHP enabled.&lt;/p&gt;
        &lt;input type='button' name='contact' value='Demo' class='contact demo'/&gt; or &lt;a href='#' class='contact'&gt;Demo&lt;/a&gt;
    &lt;/div&gt;
    &lt;!-- preload the images --&gt;
    &lt;div style='display:none'&gt;
        &lt;img src='images/contact/loading.gif' alt='' /&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;div id='footer'&gt;
    &amp;copy; 2010 Eric Martin | &lt;a href='http://www.ericmmartin.com/'&gt;ericmmartin.com&lt;/a&gt; | &lt;a href='http://twitter.com/ericmmartin'&gt;@ericmmartin&lt;/a&gt; | &lt;a href='http://twitter.com/simplemodal'&gt;@simplemodal&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id='modal-contact-form' style='display:none'&gt;
&lt;div class='contact-top'&gt;&lt;/div&gt;
&lt;div class='contact-content'&gt;
    &lt;h1 class='contact-title'&gt;Send us a message:&lt;/h1&gt;
    &lt;div class='contact-loading' style='display:none'&gt;&lt;/div&gt;
    &lt;div class='contact-message' style='display:none'&gt;&lt;/div&gt;
    &lt;form action='#' style='display:none'&gt;
        &lt;label for='contact-name'&gt;*Name:&lt;/label&gt;
        &lt;input type='text' id='contact-name' class='contact-input' name='name' tabindex='1001' /&gt;
        &lt;label for='contact-email'&gt;*Email:&lt;/label&gt;
        &lt;input type='text' id='contact-email' class='contact-input' name='email' tabindex='1002' /&gt;
        &lt;label for='contact-subject'&gt;Subject:&lt;/label&gt;
        &lt;input type='text' id='contact-subject' class='contact-input' name='subject' value='' tabindex='1003' /&gt;
        &lt;label for='contact-message'&gt;*Message:&lt;/label&gt;
        &lt;textarea id='contact-message' class='contact-input' name='message' cols='40' rows='4' tabindex='1004'&gt;&lt;/textarea&gt;
        &lt;br/&gt;
        &lt;label&gt;&amp;nbsp;&lt;/label&gt;
        &lt;input type='checkbox' id='contact-cc' name='cc' value='1' tabindex='1005' /&gt; &lt;span class='contact-cc'&gt;Send me a copy&lt;/span&gt;
        &lt;br/&gt;
        &lt;label&gt;&amp;nbsp;&lt;/label&gt;
        &lt;button type='submit' class='contact-send contact-button' tabindex='1006'&gt;Send&lt;/button&gt;
        &lt;button type='submit' class='contact-cancel contact-button simplemodal-close' tabindex='1007'&gt;Cancel&lt;/button&gt;
        &lt;br/&gt;
    &lt;/form&gt;
&lt;/div&gt;
&lt;div class='contact-bottom'&gt;&lt;a href='http://www.ericmmartin.com/projects/simplemodal/'&gt;Powered by SimpleModal&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Load JavaScript files --&gt;
&lt;script type='text/javascript' src='js/jquery.js'&gt;&lt;/script&gt;
&lt;script type='text/javascript' src='js/jquery.simplemodal.js'&gt;&lt;/script&gt;
&lt;script type='text/javascript' src='js/contact.js'&gt;&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Im not sure how to paste the JQuery JavaScript Files or the large CSS File.  I downloaded them from the demo site.</p>

<p><a href="http://www.ericmmartin.com/projects/simplemodal-demos/" rel="nofollow">http://www.ericmmartin.com/projects/simplemodal-demos/</a>     -- The Contact Modal --</p>
