below is some source code I've written which is available under the MIT licence; you can also view larger projects via github.
Free Source Code: Projects
Blank Project Using Bootstrap 2.3.2
This includes some of the main functionality of Bootstrap, FancyBox and FontAwesome. This is a blank project designed to help get you started with Bootstrap 2.3.2 with additional functionality. Bear in mind, this is not a template, has not been styled and is not meant to be used as a website in itself; though can be styled and advanced yourself. This is using Bootstrap scaffolding and has only been set up and commented on by myself. Below is a snippet of the navbar, and below that is the full project download link.
<div class="nav-collapse collapse">
<ul class="nav">
<li class="active"><a href="#">Page 1</a></li>
<li><a href="#">Page 2</a></li>
<li><a href="#">Page 3</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Page 4 <b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
<li class="dropdown-submenu">
<a tabindex="-1" href="#">Page 4.1</a>
<ul class="dropdown-menu">
<li><a tabindex="-1" href="#">Page 4.1.1</a></li>
<li><a tabindex="-1" href="#">Page 4.1.2</a></li>
<li class="dropdown-submenu">
<a tabindex="-1" href="#">Page 4.1.3</a>
<ul class="dropdown-menu">
<li><a tabindex="-2" href="#">Page 4.1.3.1</a></li>
</ul>
</li>
<li><a tabindex="-1" href="#">Page 4.1.4</a></li>
<li><a tabindex="-1" href="#">Page 4.1.5</a></li>
</ul>
</li>
<li><a href="#">Page 4.2</a></li>
<li class="divider"></li>
<li><a href="#">Page 4.3</a></li>
</ul>
</li>
</ul>
</div>
download project
Licence Agreement
The MIT Licence (MIT)
Copyright © [year] [fullname]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
note: This licence refers to any source code used as: (the "software"). This does not mean the licence is referring to actual software, it means that when the agreement
uses the word "software" it is referring to any "source code" taken from this site. This information is not related in any way to the Privacy Policy.
Although the agreement states that the given code is available to use freely, I would ask that if any of this code is used commercially, or if it plays a large part in an educational project, that I am given some creditation within the project. It would be greatly appreciated if a link similar to the one below, and similar to those in the footer of this page, is displayed on each page. This is a legal requirement, and a show of good will between fellow developers.
<p>Copyright © YEAR <a href="http://www.luke-hale.com" target="_blank">Luke Hale</a></p>
download licence