JQuery UI - which event is launched after loading of JQuery UI Tabs?
Hello,
I am a beginner, just started using JQuery UI Tabs - they are located in an iframe. I have 3 tabs and after load of page with them I call javascript, which adjusts the height of the frame. However, this adjusts the height of the page according to the 1st (selected) Tab. Second Tab has more content and when I click to it, size of the page is not adjusted. My question is - which event should I call when I want to recalculate the height of the page after loading of each Tab content? Tried "onclick" and "onload", but they dont work - seems they are called too soon.
<ul> <li><a href="#fragment-1" onclick="SetHeight()">One</a></li> <li><a href="#fragment-2" onclick="SetHeight()>Two</a></li> <li><a href="#fragment-3" onclick="SetHeight()>Three</a></li> </ul>
Thanks a lot