JSFiddle - React, Tailwind, and code Playground
by Sledgehammer
HTML
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<div id="tabs">
<ul>
<li><a href="tab_index.php" id="ctx-1">RIGHT TAB 1</a>
</li>
<li><a href="tab_index.php" id="ctx-2">RIGHT TAB 2</a>
</li>
</ul>
<div class="tabs-spacer" style="height:0px"></div>
</div>
JavaScript
$(function () {
var tabs = $("#tabs").tabs({
beforeLoad: function (event, ui) {
ui.jqXHR.error(function () {
ui.panel.html(
"Couldn't load this tab. We'll try to fix this as soon as possible. " +
"If this wouldn't be a demo.");
});
}
});
});