Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Height of JQuery UI Tab Content Panel

How can one get the height of the content area in a JQuery UI tabbed panel? $('.ui-tabs-panel').height() clearly returns the height of the content area + the height of the tabs. I am assuming there must be an easy way to get this dimension? So far my searching online is not turning that answer up.

Any suggestions would be most appreciated!

Chris

like image 772
Chris Avatar asked Nov 24 '25 12:11

Chris


1 Answers

You had it right:

$('.ui-tabs-panel').height() 

Gets the height of just the content panel, this doesn't include the tabs. If you did this though:

$('.ui-tabs').height()

It would include the tabs height as well.

like image 183
Nick Craver Avatar answered Nov 26 '25 04:11

Nick Craver



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!