Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kathy on Jul 29, 2009 10:43
open dhtmlx forum
example for opening window, attaching HTML string and a slider?

It's probably very simple, but for some reason I can't get it to work. All I need to do is open a modal window using JS, attach some text to it, and add a vertical slider. Could you give me an example, or point me to example if it exists? My code is below, but it just freezes underlying window (I call this window from another one). PLease help!

    p = dhxWins.createWindow('result', 0, 0, 600, 650);
    p.setText('readcfg');
    p.setModal(true);
    sld = new dhtmlxSlider(slider, 20, 'dhx_blue', true);
sld.setImagePath("../codebase/imgs/");
    sld.init();
    //p.appendObject(sld); -- doesn't work
    //sld.linkTo(p); -- freezes underlying window
Answer posted by Alex (support) on Jul 30, 2009 01:48

Hello, 

the sample is attached

Attachments (1)
Answer posted by Kathy on Jul 30, 2009 06:53
Thank you!!