![]() |
GS2 Tabs
How do i use the
onSelect(tabid,tabtext,tabindex) - a tab has been selected onDeselect(tabid,tabtext,tabindex) - a tab has been deselected (another tab got the focus) i dont get what i put for tabidindex like is it the same as tabid or what im just confused what goes in what params... function Info_Tabs.onSelect(0,"Info","WHAT HERE?"); { //script; } |
You don't need to put anything, just read what you need in the actual script.
Example: PHP Code:
etc... |
Ya thanks :)
|
One thing I like doing with tabs is name them with their respective scrollbox...
It allows this shortcut: PHP Code:
|
Quote:
|
Another way of doing it is inside the TabControl you could do this.
PHP Code:
PHP Code:
|
| All times are GMT +2. The time now is 02:05 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.