On Mar 21, 2010, at 8:36 AM, Mike Brown wrote:

> Does anyone know the method for displaying the web page retrieved from the 
> example "put url (“http://www.google.com”) into tGooglePage"?


I suppose you would say:

revBrowserSet id, "htmltext",tGooglePage

where id would be the id of the revBrowser instance. Still wouldn't work on a 
phone.

Here's a script that would close all existing revBrowsers, get the Google page 
source, and then set it to a new instance:

on mouseUp
   put revBrowserInstances() into tInstances
   repeat for each item tInstance in tInstances
      revBrowserClose tInstance
   end repeat
   
   put url ("http://www.google.com/";) into tGooglePage
   put revBrowserOpen(the windowId of this stack, "") into tBrowserId
   revBrowserSet tBrowserId,"rect",the rect of button "placeholder"
   revBrowserSet tBrowserId,"htmltext",tGooglePage
end mouseUp


Usually I think you would open the initial page in the first revBrowserSet 
line. In the above example, button "placeholder" is set to have an outer glow, 
which means that the web page seems to have that outer glow too.


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to