开发者

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 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜