oregontarheel
16 Apr 2007, 10:16 AM
Hello all-
I have a series of content panels with tabs, and I want to close one using a javascript handler, but all i can find in the ContentPanel class is a destroy method, which clears the panel but doesn't get rid of the tab. Is there any function that will emulate the user clicking on the tab close "X" button? Also, is there an event that fires when this happens, again I was only able to find activate and deactivate in that class, and that appears to fire every time i switch tabs, instead of just when the tab is closed. Thanks in advance!
I have a series of content panels with tabs, and I want to close one using a javascript handler, but all i can find in the ContentPanel class is a destroy method, which clears the panel but doesn't get rid of the tab. Is there any function that will emulate the user clicking on the tab close "X" button? Also, is there an event that fires when this happens, again I was only able to find activate and deactivate in that class, and that appears to fire every time i switch tabs, instead of just when the tab is closed. Thanks in advance!