Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Most front end JavaScript libraries should be included by reference in your HTML, so there is no need download/install it. If you plan to modify JavaScript libraries, you will have to host the modified code yourself.</p> <p>So in your case you could use Google Libraries API to load jquery like so:</p> <pre><code>&lt;!-- Placed at the end of the document so the pages load faster --&gt; &lt;script type="text/javascript" src="http://www.google.com/jsapi"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt;google.load("jquery", "1.7.1");&lt;/script&gt; </code></pre> <p>Most sites keep their customized Bootstrap assets in their own repository, and host them directly. Bootstrap customization is described at <a href="http://twitter.github.com/bootstrap/download.html" rel="nofollow">http://twitter.github.com/bootstrap/download.html</a>. Bootstrap loading code should look something like this:</p> <pre><code>&lt;!-- Placed at the end of the document so the pages load faster --&gt; &lt;script type="text/javascript" src="/static/src/bootstrap_base.js"&gt;&lt;/script&gt; &lt;!-- &lt;script src="/static/bootstrap/js/jquery.js"&gt;&lt;/script&gt; --&gt; &lt;!-- &lt;script src="/static/bootstrap/js/bootstrap-transition.js"&gt;&lt;/script&gt; --&gt; &lt;script src="/static/bootstrap/js/bootstrap-alert.js"&gt;&lt;/script&gt; &lt;script src="/static/bootstrap/js/bootstrap-modal.js"&gt;&lt;/script&gt; &lt;script src="/static/bootstrap/js/bootstrap-dropdown.js"&gt;&lt;/script&gt; &lt;!-- &lt;script src="/static/bootstrap/js/bootstrap-scrollspy.js"&gt;&lt;/script&gt; --&gt; &lt;script src="/static/bootstrap/js/bootstrap-tab.js"&gt;&lt;/script&gt; &lt;!-- &lt;script src="/static/bootstrap/js/bootstrap-tooltip.js"&gt;&lt;/script&gt; --&gt; &lt;!-- &lt;script src="/static/bootstrap/js/bootstrap-popover.js"&gt;&lt;/script&gt; --&gt; &lt;script src="/static/bootstrap/js/bootstrap-button.js"&gt;&lt;/script&gt; &lt;script src="/static/bootstrap/js/bootstrap-collapse.js"&gt;&lt;/script&gt; &lt;!-- &lt;script src="/static/bootstrap/js/bootstrap-carousel.js"&gt;&lt;/script&gt; --&gt; &lt;!-- &lt;script src="/static/bootstrap/js/bootstrap-typeahead.js"&gt;&lt;/script&gt; --&gt; </code></pre> <p>If you don't want to host the bootstrap javascript, you could always link to the latest version directly:</p> <pre><code>&lt;!-- This is NOT recommended --&gt; &lt;script type="text/javascript" src="http://twitter.github.com/bootstrap/assets/js/bootstrap_base.js"&gt;&lt;/script&gt; &lt;!-- &lt;script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-transition.js"&gt;&lt;/script&gt; --&gt; &lt;script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-alert.js"&gt;&lt;/script&gt; etc.. </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload