coco
March 1, 2013, 12:25pm
#1
Hello,
I am trying to do the basic example as on your site. I have no errors, but I do not see anything but a white box with the title inside (ie, no dhtmlxWindows). I don’t know what I am doing wrong.
Here is my code:
[code]
Input Position (x,y)
Input Size (width, height)
Input Header Text
[/code]
Darya
March 1, 2013, 12:32pm
#2
Hello
Apply layout skin dhx_web:
dhxWins = new dhtmlXWindows();
dhxWins.enableAutoViewport(false);
dhxWins.attachViewportTo(“winVP”);
dhxWins.setImagePath("…/…/DHTMLX/dhtmlxWindows/codebase/imgs/");
dhxWins.setSkin(“dhx_web”);
coco
March 1, 2013, 12:41pm
#3
Thanks – that works, but I don’t see any buttons (even when I take out:
w1.button(“close”).dissable();
??
Darya
March 1, 2013, 12:59pm
#4
Because ‘disable’ with one ‘s’:
dhxWins.window(id).button(“close”).disable();
coco
March 1, 2013, 1:10pm
#5
Hi,
You are right about the misspelling but I have NO buttons at all. Am attaching screen shot after latest correction.
Thanks again,
Darya
March 1, 2013, 1:17pm
#6
Ok, look: this sample saw buit whis youк code:
13.03.01.rar (37.6 KB)