Secure Global Desktop Administration Guide > Applets > getWebtopURL (framework applet)
string getWebtopURL()
The getWebtopURL
method is used to get the URL for the
webtop frame. To select the correct theme and locale, call this method
after the user has logged in. This method only applies to the left.html page.
If this method is:
<SCRIPT Language="JavaScript"> function Wait() { setTimeout("DoLogin()", 4000); } function DoLogin() { var applet = top.StateFrame.document.applets["Tarantella Framework"]; status = applet.login("", ""); if (status == 0) { frameset = applet.getWebtopURL(); applet.showDocument(frameset, "MainFrame"); } } </SCRIPT>
Defines a function that returns the URL of the webtop frame. It assumes that the Framework applet is in a frame called "StateFrame" (this is its normal location).
Copyright © 1997-2006 Sun Microsystems, Inc. All rights reserved.