Find file
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (46 sloc) 1.92 KB
<!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]-->
<head>
<title>Dynamic jQuery UI Tabs with Backbone</title>
<!-- Stylesheets -->
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/start/jquery-ui.css"
media="screen" rel="stylesheet" type="text/css"/>
<link href="stylesheets/zurb_foundation.css" media="screen" rel="stylesheet" type="text/css"/>
<!--[if lt IE 9]>
<link rel="stylesheet" href="stylesheets/zurb_ie.css">
<![endif]-->
<!-- Javascript -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.js" type="text/javascript"></script>
<script src="javascripts/underscore.js" type="text/javascript"></script>
<script src="javascripts/json2.js" type="text/javascript"></script>
<script src="javascripts/backbone.js" type="text/javascript"></script>
<script src="javascripts/application.js" type="text/javascript"></script>
<script src="javascripts/bb_app.js" type="text/javascript"></script>
</head>
<body>
<div class="container">
<h2>Backbone Test</h2>
<div class="row">
<div class="eight columns">
<h4>Tabs:</h4>
<div id="tab_wrapper">
<ul id="tab_ul"></ul>
</div>
</div>
<div class="four columns">
<h4>Add a new tab:</h4>
<div>
<p>Name: <input type="text" id="name_input" /></p>
<p>Contents: <input type="text" id="contents_input" /></p>
<button id="submit_new_tab">Add this tab</button>
</div>
</div>
</div>
</div>
</body>
</html>