Skip to content

Commit

Permalink
add install instructions to website
Browse files Browse the repository at this point in the history
  • Loading branch information
kylefox committed Oct 14, 2017
1 parent 7caf28f commit 11473a7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,20 @@ <h1>jQuery Modal</h1>
<li>Built by <a href="http:https://kylefox.ca/">Kyle Fox</a>, the nicest guy you've never met.</li>
</ul>

<hr>

<h2 id="install"><a href="#install">#</a> Install</h2>

<p>The simplest method is to use the hosted version from <a href="https://cdnjs.com/libraries/jquery-modal">cdnjs</a>:</p>

<pre><code>&lt;!-- Remember to include jQuery :) --&gt;
&lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js&quot;&gt;&lt;/script&gt;

&lt;!-- jQuery Modal --&gt;
&lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.8.2/jquery.modal.min.js&quot;&gt;&lt;/script&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.8.2/jquery.modal.min.css&quot; /&gt;</code></pre>

<p>Refer to the <a href="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/kylefox/jquery-modal#installation">README</a> for more installation options.</p>

<hr />

Expand Down

0 comments on commit 11473a7

Please sign in to comment.