Well, expandit() then loadajaxpage() would be the correct process. Most likely the reason it "flickers" while doing it is because when you call expandit(), it attempts to load the default content associated with that tab, only to be quickly interrupted by loadajaxpage() to load a different content instead. Is specifying a "blank" page to be associated with that tab by default an option for you? For example:
Code:
<ul id="countrytabs" class="shadetabs">
<li><a href="external1.htm" rel="countrycontainer" class="selected">Tab 1</a></li>
<li><a href="blank.htm" rel="countrycontainer">Tab 2</a></li>
<li><a href="external3.htm" rel="countrycontainer">Tab 3</a></li>
<li><a href="external4.htm" rel="countrycontainer">Tab 4</a></li>
</ul>
Blank.htm would be an actual external page, but with no real content, to minimize any flickering when switching from it to the actual page you want to load.
Bookmarks