Dear Support Team,
I have a php code and i want to call di function using dhtmlxWindows and will pop up on top at my form.php:
function doingOnLoad() {
dhxWins = new dhtmlXWindows();
dhxWins.enableAutoViewport(false);
dhxWins.attachViewportTo(“winVP”);
dhxWins.setImagePath("./dhtmlxWindows/codebase/imgs/");
w1 = dhxWins.createWindow(“w1”, 0,0, 300, 240);
w1.setText(“Login Form”);
w1.button(“close”).enable();
w1.denyResize();
w1.denyPark();
w1.center();
w1.button(“minmax1”).hide();
w1.button(“park”).hide();
w1.attachURL(“http://localhost/report.php?id=<?$id?>”);
And I want to call it in form.php by
<td class=“text”><a href=“javascript:doingOnLoad()”;>
And it cannot show the pop up.
Please advice me to solve this
thank you for your help
Regard,
bernard
hello,
the provided code snippets are correct. Please, check that all windows libraries are correctly included and doingOnLoad() function is really called