bper
01-24-2006, 09:24 PM
Hi,
The script works well. But there is something that I need to do.
I'd like to be able to determine dynamically whether or not to display a tab. For example if a certain condition exists, I want to hide the tab.
If 3 tabs exist, I can hide the third tab without a problem with 'if' logic. But if only two tabs exist, with the same logic the page will not be displayed. It seems as if there must be at least two tabs for this to work.
Is there a way to 'hide' a tab if necessary?
Thanks.
The script works well. But there is something that I need to do.
I'd like to be able to determine dynamically whether or not to display a tab. For example if a certain condition exists, I want to hide the tab.
If 3 tabs exist, I can hide the third tab without a problem with 'if' logic. But if only two tabs exist, with the same logic the page will not be displayed. It seems as if there must be at least two tabs for this to work.
Is there a way to 'hide' a tab if necessary?
Thanks.