I will not be able to set jquery-layout plugin options. By default it displays correctly, but there are no options. I'm trying to set a resizable and sliding document at the ready, but when I warn about resizing, it returns false. Can anyone determine what is going on here?
JS:
$(document).ready(function() { var myLayout = $('body').layout({ west: { resizable: true, resizeWhileDragging: true, slidable: true } }); alert(myLayout.options.west.resizable);
HTML:
<body> <div class="ui-layout-center">Center <div id="board"> </div> <button onclick="set_board();">New Game!</button> <button onclick="execute_turn();">Turn!</button> </div> <div class="ui-layout-east">East</div> <div class="ui-layout-west">West</div> </body>
source share