image - Read-only property. Takes a screenshot of the browser window and returns
an image object, ready to be used with imaging Lingo functions. Please make sure
the browser window is not covered by other elements when this function executes.
Lingo example:
put sprite(x).image
--<image:202bc8>
JavaScript syntax example:
trace (sprite(x).image)
//<<image:202bc8>>
html - This property can be tested and set. It returns the current HTML code of the
main page loaded in the browser window, and can also be used to pass an HTML
string to be loaded and displayed by the browser. Important: getting the HTML
property stops and cancels any browser operations currently in place, so you may
want to test if the browser is busy before issuing this command.
Lingo example:
-- Get the HTML text currently loaded on the browser
member(x).text = sprite(x).html
-- Display new HTML content
sprite(x).html = "My HTML string here"
JavaScript syntax example:
trace (sprite(x).html)
//<BODY>my text here</BODY>
zoom - This property can be tested and set. It returns the current zoom level of the
page loaded in the browser window, and can also be used to set it. This property is
only available after a document has been loaded in the browser window. The valid
range goes from 10 to 1000 percent of the page size, with the default value being
Online Help
20
Commentaires sur ces manuels