开发者

IDE Like interface with jQuery (Resizing divs)

开发者 https://www.devze.com 2023-01-17 03:30 出处:网络
I am planning to develop a site which will have interface very similar to IDE 开发者_JAVA百科I was wondering if there is a jQuery plugin which allows the resizing of divs (horizontal / vertical bas

I am planning to develop a site which will have interface very similar to IDE

IDE Like interface with jQuery (Resizing divs)

开发者_JAVA百科I was wondering if there is a jQuery plugin which allows the resizing of divs (horizontal / vertical based on settings) or any ideas on what would be the best approach.


I use jQuery layout for a web-based publishing platform for kids books and it's really good. Simple to use, good docs.

http://layout.jquery-dev.net/


You can also try:

<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>

<script>
    $(document).ready(function() {
      $("#resizable").resizable();
    });
</script>


<div id="resizable" style="width: 100px; height: 100px; background: silver;"></div>

Reference:

  • UI/API/1.8/Resizable
  • Custom Resizable Handles in JQuery UI
  • jQuery Resizable


use Jquery UI Re-sizable

http://jqueryui.com/demos/resizable/

0

精彩评论

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