- jQuery UI Layout 与jQuery1.6.2错误
现象:
The layout-container "undefined/body" has no height.
Therefore the layout is 0-height and hence 'invisible'!
解决方法:
The idea is use the .prop() if exists, otherwise, the .attr().
修改jquery.layout.js文件Line 1373: tag = sC.tagName = $.prop?$C.prop("tagName"): $C.attr("tagName") Line 1748: s.tagName = $.prop?$P.prop("tagName"):$P.attr("tagName");
引自: http://groups.google.com/group/jquery-ui-layout/browse_thread/thread/b664efb66cc87194/469cfc7bebf31d95?#469cfc7bebf31d95