Hmmm try adding a delay before the page reloads. This gives the script ample time to have switched to the new tab:
Code:
<ul id="countrytabs" class="shadetabs">
<li onClick="setTimeout('location.reload()', 500)"><a href="#" rel="country1" class="selected">Tab 1</a></li>
<li onClick="setTimeout('location.reload()', 500)"><a href="#" rel="country2">Tab 2</a></li>
<li><a href="#" rel="country3">Tab 3</a></li>
<li><a href="#" rel="country4">Tab 4</a></li>
<li><a href="http://www.dynamicdrive.com">Dynamic Drive</a></li>
</ul>
Make sure that persistence is also enabled when initializing the script on your page.
Bookmarks