开发者

Resizing ui-layout-east in jQuery UI.Layout Plug-in

开发者 https://www.devze.com 2023-02-09 22:01 出处:网络
How do you resize ui-layout-east in the following jQuery example? <HTML> <HEAD> <TITLE>Layout Example</TITLE>

How do you resize ui-layout-east in the following jQuery example?

<HTML>
<HEAD>
<TITLE>Layout Example</TITLE>
<SCRIPT type="text/javascript" src="jquery-1.3.2.js"></SCRIPT>
<SCRIPT type="text/javascript" src="jquery.layout-latest.js"></S开发者_如何学编程CRIPT>
<SCRIPT type="text/javascript">

$(document).ready(function () {

    $('body').layout({ applyDefaultStyles: true });

});

</SCRIPT>
</HEAD>

<BODY>
<DIV class="ui-layout-center">Center
</DIV>
<DIV class="ui-layout-north">North</DIV>
<DIV class="ui-layout-south">South</DIV>
<DIV class="ui-layout-east">East</DIV>
<DIV class="ui-layout-west">West</DIV>
</BODY>
</HTML>


Please check the docs for this library. You're currently including neither the necessary CSS file nor the jQuery UI libray. If you do, your example should work out of the box: http://jsfiddle.net/HVkTD/

0

精彩评论

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