Regarding the first question, if you must, what you can do is add an "onClick" event handler inside the tab's parent LI element that does this:
Code:
<ul id="countrytabs" class="shadetabs">
<li><a href="#" rel="#default" class="selected">Tab 1</a></li>
<li onClick="location='demo.htm?countries=1'"><a href="external2.htm" rel="countrycontainer">Tab 2</a></li>
<li><a href="external3.htm" rel="countrycontainer">Tab 3</a></li>
<li><a href="external4.htm" rel="#iframe">Tab 4</a></li>
<li><a href="http://www.dynamicdrive.com">Dynamic Drive</a></li>
</ul>
In other words, you'd add:
Code:
onClick="location='demo.htm?countries=1'"
where "demo.htm" should be the URL of the current page (the one you want reloaded), and "countries", the tab instance's variable (ie: var countries=new ddajaxtabs("countrytabs", "countrydivcontainer")), and finally 1, the tab that should be selected (1=2nd tab). Do this for all the tabs that you want the default behavior changed.
Regarding part 2, I'm not sure I totally understand. Are you basically trying to dynamically change which tab is selected once a certain action is complete (ie: the playing of a video)?
Bookmarks