STANDARD LIBRARY: WMLBrowser
The WMLBrowser library function
is composed of seven functions that can be used to access the WML context
(the information and content associated with a card). For example, you
can return to a previous card, go to a new card, refresh a current card,
get the current card URL, or get and set named variables.
The library and function names are case sensitive.
The seven functions are:
getCurrentCard
Returns the URL of the current card.
Syntax: WMLBrowser.getCurrentCard( )
getVar
Returns the value of the named variable.
Syntax: WMLBrowser.getVar(name)
go
Orders the browser to load the given URL.
Syntax: WMLBrowser.go(url)
newContext
Clears the WML browser context.
Syntax: WMLBrowser.newContext( )
prev
Orders the browser to go back to the previous card.
Syntax: WMLBrowser.prev( )
refresh
Directs the browser to update the currently displayed card.
Syntax: WMLBrowser.refresh( )
setVar
Sets the value for the named variable.
Syntax: WMLBrowser.setVar(name,
value)
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information
|