In older versions of jQuery UI I was able to add a “#C” at the end of a URL to load the page on a certain tab (Tab C), however I am having problems with this version I am using.
Here is the page:
Here is the script I am using to call the tabs, any ideas? I want the above link to open on the third tab when the page is loaded
<script>
$(function() {
// $('article.tabs').tabs();
$("article.tabs").tabs({
activate : function(event, ui)
{
var tableInstances = TableTools.fnGetMasters(), instances = tableInstances.length;
while (instances--)
{
var dataTable = tableInstances[instances];
if (dataTable.fnResizeRequired())
{
dataTable.fnResizeButtons();
}
}
}
});
});
</script>
Yup. Tidy up your page. There is a JS error in the console that could stop script execution. The HTML is invalid (85 errors) and you are including random scripts / CSS all over the place. You are also including an insane amount of JS libs and plugins - do you really need all of those? Consider concatenating them and using up-to-date versions (e.g. you are using Bootstrap 2.x and jQuery 1.7).