title: jQuery layout plug-in - create layout dynamically
body: <p>I'm using jQuery UI Layout Plug-in (<a href="http://layout.jquery-dev.net/" rel="nofollow">http://layout.jquery-dev.net/</a>). I need to load a layout on a modal window depending on certain parameters. So on-event I do something like:</p>
  
  <pre><code>$('&lt;div id="container"&gt;&lt;div class="ui-layout-west"&gt; &lt;div class="left-panel"&gt;&lt;div class="fuelux"&gt;Somthing here&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="ui-layout-center"&gt;Something else here &lt;/div&gt;&lt;/div&gt;').layout();
  </code></pre>
  
  <p>I have no idea why it does not build the layout. Does the plug-in support something like that?.. </p>
  
  <p>Help is appreciated.</p>