Jquery tabs and following a tab's URL instead of loading its content via ajax -


I'm unable to get selected selected tabs (highlights) when I use the code below. I'm thinking that when I click on a tab and I can reload the same page to select the new tab selection. This is not happening right now. The page is designed to show different parameters of my parameter "a" Also, I do not want to use Ajax.

  & lt; Link type = "text / css" href = "../../ themes / base / ui.all.css" rel = "stylesheet" /> & Lt; Script type = "text / javascript" src = "../../jquery-1.4.min.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "../../jquery-ui-1.7.2.custom.min.js" & gt; & Lt; / Script & gt; & Lt; Link type = "text / css" href = "../ demos.css" rel = "stylesheet" /> & Lt; Script type = "text / javascript" & gt; Tabs ({select: function (event, UI) {var url = $ .data (ui.tab, 'load.tabs'); if (url) {location .href = url; return false;} true truth;}} );}); & Lt; / Script & gt; & Lt; Div id = "tab" & gt; & Lt; Ul & gt; & Lt; Li & gt; & Lt; A href = "default.aspx? A = 1" & gt; Tab 1 & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "default.aspx? A = 2" & gt; Tab 2 & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "default.aspx? A = 2" & gt; Tab 3 & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Div & gt;  

Any help would be great thanks

I I recommend using the cookie option and store the selected tab in the cookie so that it will default when the page loads. This will have an effect, however, as the remaining sticky tab's tab, you will navigate through other ways.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -