new tab clicked and page render finished

new tab clicked and page render finished

Hello...

When I click a new tab, I need to be notified after the new tab has become active and rendering is complete because I need to get newly clicked tab id and dimensions for elements on the page (position x, position y, width and height) for each. Is there an event I can capture when this is complete. I am doing this on the creation of the widget using following jQuery deferred:

                $.when($("#tabs").tabs()).then(function () {

                          // read position x, position y, height, width of certain elements
                    });

                });

I have, unfortunately, no way to do it after changing to/clicking a new tab.

Thanks in Advance!