- Wed Oct 12, 2011 12:04 pm
#15691
Hello I command code can help you create popup
var workSchedulePanel;
var workSchedulePanel=function(sWscUid){
if(!sWscUid){
sWscUid = '';
}
workSchedulePanel =new leimnud.module.panel();
workSchedulePanel.options={
size :{w:400,h:150},
position:{x:60,y:60,center:true},
control :{close:true,resize:false},fx:{modal:true},
statusBar:false,
fx :{shadow:false,modal:true}
};
workSchedulePanel.make();
workSchedulePanel.loader.show();
var r = new leimnud.module.rpc.xmlhttp({
url:"workSchedulePanel.php",
method:"POST",
args:"sWscUid="+sWscUid
});
r.callback=function(rpc){
workSchedulePanel.loader.hide();
workSchedulePanel.addContent(rpc.xmlhttp.responseText);
var scs = rpc.xmlhttp.responseText.extractScript();
scs.evalScript();
};
r.make();
};