KoolTabs - Powerful PHP Tab MenuKoolTabs - Powerful PHP Tab MenuFullVersion 1.8.0.0 released on 04/16/2012

Client-Side API - RegisterEvent

Client-side events:

Description & Sample code

KoolTabs supports rich client-side event handling. With the use of registerEvent() , you can bind your function to an event.

  • "OnBeforeSelect" - Before the tab changes to selection state.
  • "OnSelect" - After the tab changes to selection state.
  • "OnBeforeUnselect" - Before the tab changes to unselection state.
  • "OnUselect" - After the tab changes to unselection state.
  • "OnBeforeSelect" - Before the tab changes to selection state.
  • "OnSelect" - After the tab changes to selection state.
  • "OnMouseOver" - When the mouse is over a tab.
  • "OnMouseOut" - When the mouse is moving out of a tab.


*Note: Returning false in "OnBefore..." handle function will result in cancelling user action.