Is it possible to rewrite the code so that the links did not work only when you press the button ?
$('.tab_content').hide();
$('ul.tabs li:first').addClass("active").show();
$('.tab_content:first').show();
$('ul.tabs li').click(function () {
$('ul.tabs li').removeClass("active");
$(this).addClass("active");
$('.tab_content').hide();
var activeTab = $(this).find("a").attr("href");
$(activeTab).fadeIn(200, function (event) {
$(this).load($(this).attr("id") + ".php?" + Math.random());
});
return false;
});
Here is Example http://jsfiddle.net/Nazaret2005/zve79pk9/6/
I need it work like if Some one will go to http://mywebsite.com/tab1 (it will open and show them information + active tab1 button)
Now it work only by Click Button tab.
Thanks