mscifo
11-08-2006, 02:14 PM
Jack
I've created three panels and hidden the second and third one, show only the first tab/panel shows. I am using your code to dynamically create a new tab. Once a new tab is created, 2 tabs show up, the first panel and the new panel. However, when I close the newly created tab, instead of activating the first tab/panel, the 3rd hidden panel shows up. What should happen is when you close a tab then only visible panels should be shown. Better yet, it would be great if the tab code kept track of your tab selections so when a tab is closed, the previously selected tab is selected.
-Matt
I've created three panels and hidden the second and third one, show only the first tab/panel shows. I am using your code to dynamically create a new tab. Once a new tab is created, 2 tabs show up, the first panel and the new panel. However, when I close the newly created tab, instead of activating the first tab/panel, the 3rd hidden panel shows up. What should happen is when you close a tab then only visible panels should be shown. Better yet, it would be great if the tab code kept track of your tab selections so when a tab is closed, the previously selected tab is selected.
-Matt