reloading homepage in an iframe

I was wondering how I might go about reloading the contents of 1 iframe when you click on the tab after it has already been selected.

For example, let’s say I have 2 tabs, tab a (google) and tab b (yahoo). If tab a is currently selected, and I click on tab b, it will simply switch over to that tab without reloading anything (if this is the first time I an opening this tab, it will simply load up yahoo). If I click on tab b again when tab b is the currently selected tab, it will reload tab b “homepage”.

Sorry for the dumb questions… I am very new at this…

test.html

[code]

test
[/code]

test.xml

<?xml version="1.0"?> <tabbar hrefmode="iframes-on-demand"> <row> <tab id="t2" width='*' href="http://google.ca/">Google</tab> <tab id="t3" width='*' href="http://yahoo.ca/">Yahoo</tab> </row> </tabbar>

Thanks!

You may try to use “iframe” mode instead of “iframe-on-demand”. In this case one iframe is used for all tabs and therefore the iframe is reloaded each time a tab selected.