开发者

Height of JQuery UI Tab Content Panel

开发者 https://www.devze.com 2022-12-25 05:56 出处:网络
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 mu

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 se开发者_如何学编程arching online is not turning that answer up.

Any suggestions would be most appreciated!

Chris


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号