javascript - How can I make the resizers draggable? -
if @ demo resizers draggable: http://layout.jquery-dev.net/demos/simple.html
<head> <title>summation</title> <script src="jquery-latest.js"></script> <script src="jquery.layout-latest.js"></script> <script src="rotaercz.layout.js"></script> <script> $(document).ready(function () { $('body').layout({ applydefaultstyles: true }); $('#inner').layout({ applydefaultstyles: true }); }); </script> </head> <body> <div class="ui-layout-north">north</div> <div class="ui-layout-center" id="inner"> <div class="ui-layout-center">inner center</div> <div class="ui-layout-south">inner south</div> </div> <div class="ui-layout-west">west</div> </body>
this have: http://jsfiddle.net/jpeaa/1/
how can make resizers draggable in demo? can't seem figure out. it's draggable in jsfiddle doesn't seem work in google chrome.
a secondary question have how can make margins inner center , inner south 0? tried margin: 0px 0px 0px 0px doesn't seem anything.
i figured out. didn't have following line...
<script type="text/javascript" src="jquery-ui-1.10.3.js"></script>
Comments
Post a Comment