Working with Browser Widgets (LiveCode 8.1 has a Browser widget that is much easier to work with than Browser IDs) There are a number of ways to access the Internet from LiveCode programs. The easiest is using the "Launch" command. It runs (launches) the default application on your computer (e.g. I.E., Safari, etc) then transferring control to it. We did this in the last lesson. The better way is by creating your own browser window inside of LiveCode. You stay inside of your Livecode application and have full control over what the user does. Drag over a Browser widget (it looks like the Earth) and resize it. Drag over a browser widget: and Resize it: Open up the Property Inspector and put in a website address (e.g. http://google.com ) Now click the "run" tool and you will see it in action: Now, drag over 2 buttons - one for a different website, the other for a document. Put the following code on the button for the website - Google
Put the following code on the "My Story" button
|



