jtesolin
08-07-2006, 05:06 PM
Hello all,
I just started using open Laszlo and after hours of toiling was unable to do a task using javascript. I am trying to open up a small window with no statusbar, menu bar, etc. I am familiar with using javascript and tried to implement it into open laszlo but no luck. any suggestions? My code is below. Thank you in advance.
<window id="win" x="950" y="10" width="260" height="200" title="Subscribe to test list" resizable="false" closeable="true">
<form>
<statictext x="20" y="30">Subscribe to the Test Email List</statictext>
<button onclick="LzBrowser.loadURL('subscribe.html', '_blank','toolbar=no,menubar=no')">
Subscribe!
</button>
</form>
</window>
I just started using open Laszlo and after hours of toiling was unable to do a task using javascript. I am trying to open up a small window with no statusbar, menu bar, etc. I am familiar with using javascript and tried to implement it into open laszlo but no luck. any suggestions? My code is below. Thank you in advance.
<window id="win" x="950" y="10" width="260" height="200" title="Subscribe to test list" resizable="false" closeable="true">
<form>
<statictext x="20" y="30">Subscribe to the Test Email List</statictext>
<button onclick="LzBrowser.loadURL('subscribe.html', '_blank','toolbar=no,menubar=no')">
Subscribe!
</button>
</form>
</window>