cat_sin
05-15-2009, 01:28 AM
Hi,
Wanna ask some guidance from u all. Below is the code i write to display the url in the windows and bring the windows to the front:
<canvas debug="true" >
<window width="400" height="400"
oninit="this.win.setSrc('http://www.google.com/')">
<html xoffset="8" yoffset="25" widthoffset="-20"
heightoffset="-45" name="win"
oninit="this.bringToFront()"/>
</window>
</canvas>
when i try to run this code, the window din show the interface of the url and i get compilation warning and an error show:call to undefined method 'setSrc'. I am doubt with this error because the code i used here is exactly same from the "laszlo in action" book. Is there any setting to change or do i need to add dtd for it? Any idea?
Hope to get reply from u all. Ur help is very much appreciated.
Regards,
cat_sin
Wanna ask some guidance from u all. Below is the code i write to display the url in the windows and bring the windows to the front:
<canvas debug="true" >
<window width="400" height="400"
oninit="this.win.setSrc('http://www.google.com/')">
<html xoffset="8" yoffset="25" widthoffset="-20"
heightoffset="-45" name="win"
oninit="this.bringToFront()"/>
</window>
</canvas>
when i try to run this code, the window din show the interface of the url and i get compilation warning and an error show:call to undefined method 'setSrc'. I am doubt with this error because the code i used here is exactly same from the "laszlo in action" book. Is there any setting to change or do i need to add dtd for it? Any idea?
Hope to get reply from u all. Ur help is very much appreciated.
Regards,
cat_sin