The LzBrowser
service provides access to the
browser and player environment. It includes methods to load URLs in
the browser, and check the version of the player. For example:
Example 13. Using LzBrowser to launch another browser
<canvas height="140" debug="true"> <!-- Load the Laszlo site in a new window --> <button onclick="LzBrowser.loadURL('http://www.laszlosystems.com/', '_blank')"> Click me </button> <script> // List the player version Debug.write('Player version: ' + LzBrowser.getVersion()); </script> </canvas>
Copyright © 2002-2007 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.