[jQuery] Re: jquery tabs 3 - problems to send the hash to url

2009-06-11 Thread GaryM
Okay, figured it out: $nav = $(".mainNav ul").tabs({ // set url hash to selected tab select: function(event, ui){ document.location.hash = "t" + $(ui.panel).attr("id"); } }); // go to tab set in url

[jQuery] Re: jquery tabs 3 - problems to send the hash to url

2009-06-11 Thread GaryM
I've done something similar in order to reload the correct tab if the user refreshes or bookmarks: --- $nav = $(".mainNav ul").tabs({ // set url hash to selected tab select: function(event, ui){ document.location.hash = $(ui.panel).attr("id");