Thread: GS2 Tabs
View Single Post
  #4  
Old 05-04-2007, 03:38 PM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
One thing I like doing with tabs is name them with their respective scrollbox...

It allows this shortcut:
PHP Code:
function whatever_tab.onSelect(tabid,tabtext,tabindex)
{
  for ( 
tab: whatever_tab.rows )
    (@
"Scroll"@ tab.text ).visible = ( tab.text == tabtext );
} 
=]
Reply With Quote