There are two parts to this
//---------------------------------------------------------------------
// PART 1. Code to go in the Form Onload as global functions
//---------------------------------------------------------------------
//---------------------------------------------------------------------
hideTab = function( tTab ) {
//---------------------------------------------------------------------
tTab.style.display = 'none';
};
//---------------------------------------------------------------------
showTab = function( tTab ) {
//---------------------------------------------------------------------
tTab.style.display='block';
tTab.style.display='inline';
};
//---------------------------------------------------------------------
//PART 2: Code that can go underneat the onload or on an event to hide a tab
//---------------------------------------------------------------------
hideTab( crmForm.all.tab1Tab );
No comments:
Post a Comment