views:

48

answers:

3

Hello,

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

alt text

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.

A: 

use Jquery UI Re-sizable

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

From.ME.to.YOU
+1  A: 

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"&gt;&lt;/script&gt;
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"&gt;&lt;/script&gt;

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


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

Reference:

NAVEED
+4  A: 

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/

Martin
Exactly what I need
Shishant
+1 yes. exactly what he need. http://layout.jquery-dev.net/demos/simple.html
NAVEED