Skip to content

Instantly share code, notes, and snippets.

@moiseevigor
Created January 1, 2012 22:49
Show Gist options
  • Save moiseevigor/1548565 to your computer and use it in GitHub Desktop.
Save moiseevigor/1548565 to your computer and use it in GitHub Desktop.
ui.tabs.closable
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/ui.tabs.closable.js"></script>
</head>
<body>
<script type="text/javascript">
$(function(){
// Tabs
$('#tabs').tabs({
closable: true,
cache:true
});
});
</script>
<div id="tabs">
<ul>
<li class="tab-notclosable"><a href="#dp">Dati Personali</a></li>
<li class="tab-notclosable"><a href="#o">Offerte</a></li>
<li class="tab-notclosable"><a href="#c">Clienti</a></li>
</ul>
<div id="dp"></div>
<div id="o"></div>
<div id="c"></div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment