Hi all,
I'm facing a problem when creating a modal window and loading an external HTML. Note: This external resource is not an SmartClient based window.
This issue is reproducible in the SC's demo page.
I've modified the Window/modality example (http://www.smartclient.com/#modality)
As you can see in the attachment (modal-window1.jpg) the height is set to about 40px, instead of the full window. If you resize the window (modal-window2.jpg), it gets fixed and gets the 100% of the window.
This issue is reproducible in the following configurations:
- Windows: IE8 / Firefox 3.6 / Chrome
- Linux: Firefox 3.6 / Chromium
Any ideas how can I solve this issue?
Best Regards,
Iván
I'm facing a problem when creating a modal window and loading an external HTML. Note: This external resource is not an SmartClient based window.
This issue is reproducible in the SC's demo page.
I've modified the Window/modality example (http://www.smartclient.com/#modality)
Code:
isc.IButton.create({ ID: "touchButton", width: 120, title: "Touch This" }); isc.Label.create({ left: 150, height: 20, contents: "<a href='http://www.google.com' target='_blank'>Open Google</a>" }); isc.IButton.create({ title: "Show Window", top: 35, left: 75, click : function () { touchButton.setTitle("Can't Touch This"); modalWindow.show(); } }); isc.Window.create({ ID: "modalWindow", title: "Modal Window", autoSize:true, autoCenter: true, isModal: true, showModalMask: true, width: "600", height: "400", autoDraw: false, closeClick : function () { touchButton.setTitle('Touch This'); this.Super("closeClick", arguments)}, src: "http://www.google.com", canDragResize: true });
This issue is reproducible in the following configurations:
- Windows: IE8 / Firefox 3.6 / Chrome
- Linux: Firefox 3.6 / Chromium
Any ideas how can I solve this issue?
Best Regards,
Iván
Comment