Tab 1
Tab 2
This is the contents of Tab 1. We created this by listening for the "extinfowindowupdate" event on the GMap2 object and manipulating the returned HTML. In this case, we manipulated the returned HTML to creat the effects of tabs.
Notice if you click Tab 2 above you will get some other contents to appear in this area.
Well look at you, clicking tabs to get different content!
Take note that all this content was originally pulled from an ajax request so it won't bog down load time.
Also note that when we set up the tabs we called ExtInfoWindow.resize(). This helps in case each tab has a different height of it's contents.
Where to go from here? How about adding effects. You could listen for the extinfowindowupdate and set up your tabs to do transitional effects using something like Scriptaculous or Moo.fx. It's all in your control now.