Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Closable Tabs for jQuery UI
JavaScript
tree: e56bd43246

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
demo
GPL_LICENSE.txt
MIT_LICENSE.txt
README.md
ui.tabs.closable.js
ui.tabs.closable.min.js

README.md

Closable Tabs for jQuery UI

An unobtrusive way to add a close button to jQuery UI tabs.

Demo

Demo of the close button functionality at http://andrew.io/playpen/ui.tabs.closable/demo/

How To Use

  1. Follow the instructions on the jQuery UI Tabs site and include the necessary jQuery and jQuery UI files. Then read through the overview at the jQuery UI Tabs site to get an idea of what is possible.
  2. Include the javascript file in your html file or js loader. eg:

    <script type="text/javascript" src="ui.tabs.closable.min.js"></script>

  3. add a closable option when instatiating the tabs:

    $('#tabs').tabs({closable: true})

That's it, about as unobtrusive as I could make it.

Something went wrong with that request. Please try again.