Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by bingo on Oct 14, 2009 04:03
open dhtmlx forum
Layout attach curl object

I cant't attach curl object.

What should i do?

curl object is editor like notepad.

when i attached object, it occupied some space - white blank - but didn't appear.

please help.

Thank you.
/******************************************************************/
<script>
function doonLoad(){
dhxLayout = new dhtmlXLayoutObject("screenLayout", "2U");
dhxLayout.cells("b").attachObject( "editor" );
}
</script>

<object id="editor" type="text/vnd.curl" data="" height="100%" width="100%">
    <PARAM name="src" value="<%=curl_dir %>">
</object>

Answer posted by Alex (support) on Oct 14, 2009 05:34

Hello,

you can try to attach iframe (the object will be loaded into a separate page in this case):

   dhxLayout.cells("b").attachURL("some.html")

some.html:

...
<object id="editor" type="text/vnd.curl" data="" height="100%" width="100%"> 
  <PARAM name="src" value="<%=curl_dir %>"> 
</object>
...

Answer posted by bingo on Oct 18, 2009 22:09
Thank you very much !!~~  :)