I am using jquery ui tabs. It has a couple of events like add, show, etc. I'd like an event that is triggered before the tab is added to the html, because I need to set width of the tab before it is added (for dynamic width purposes that I cant seem to do with CSS).
Any idea how I can make a pre-show event that is triggered before the tab is actually added?