Skip to content

Instantly share code, notes, and snippets.

@tj
Created August 19, 2009 20:51
Show Gist options
  • Select an option

  • Save tj/170642 to your computer and use it in GitHub Desktop.

Select an option

Save tj/170642 to your computer and use it in GitHub Desktop.
$(function() {
$('#tabs').tabs()
$('.tab-body').each(function(i) {
$('#tabs').tabs('add', '#tabs-' + i, $('.title', this).text())
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment