attachLayout

adds a layout object to the popup

dhtmlXLayoutObject attachLayout(number width,number height,string pattern);

Parameters

widthnumberlayout width
heightnumberlayout height
patternstringlayout pattern, "3L" by default

Returns

dhtmlXLayoutObjectdhtmlXLayoutObject instance

Example

var myPop = new dhtmlXPopup(...);
var myLayout = myPop.attachLayout(350, 300, "2U");

Back to top