Response title
This is preview!
$(function() {
$("#tabs").tabs({
cookie: {expires: 30}
});
});
$(document).ready(function(){
$("#tab1").click(function(){
$.address.value("tab1");
});
$("#tab2").click(function(){
$.address.value("tab2");
});
$("#tab3").click(function(){
$.address.value("tab3");
});
}
$.address.change(function(event) {
currentAddress=event.value;
if(currentAddress=="/tab1"){
$("#content1").show();
}
if(currentAddress=="/tab2"){
$("#content2 ").show();
}
if(currentAddress=="/tab3"){
$("#content3").show();
}
});
© 2013 jQuery Foundation
Sponsored by and others.