Are you asking how to basically refresh the page whenever a tab is clicked on? The original purpose of Tab Content script is to not have to do that to view new content actually. Anyhow, to do just that, try adding the line in red to the .js file:
Code:
this.tabs[i].onclick=function(){
tabinstance.expandtab(this)
location.reload()
tabinstance.cancelautorun() //stop auto cycling of tabs (if running)
return false
}
And as far as getting the selected tab to persist when the page reloads, did you call setpersist()? For example:
Code:
var countries=new ddtabcontent("countrytabs")
countries.setpersist(true)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()
Bookmarks