![]() |
Hiding Code in Section
I am trying to add a space between each tab for a speedbar. I read other code and tried copying the idea and would like the space between tabs unless its the last tab and then no space because its right aligned and leaves a space and looks strange.
Here is the code: Quote:
What am I doing wrong? Thanks, Louise |
Re: Hiding Code in Section
(Assuming that the TD code is correct) - If the last element(s) of the speed bar is(are) not active ("Y") then there will be a space after the last tab. I don't see a way to make it work in this case without doing a two pass type loop where you get the "active" tabs on the first pass then diisplay them on the second.
|
Re: Hiding Code in Section
That was it....I wasn't thinking about the last item not being active. Thank you for your reply.
Louise |
All times are GMT -8. The time now is 12:40 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.