JQuery UI tab content pane height

How can I get the height of the content area in the jQuery UI tab bar? $ ('.ui-tabs-panel').height()clearly returns the height of the content area + the height of the tabs. I suppose there should be an easy way to get this dimension? So far my search on the Internet does not turn this answer.

Any suggestions would be greatly appreciated!

Chris

+3
source share
1 answer

You had everything right:

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

Only the content pane gets height; this does not include tabs. If you have done this, then:

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

It will also contain the height of the tabs.

+4
source

Source: https://habr.com/ru/post/1739627/


All Articles