Skip past navigation linksSecure Global Desktop 4.31 Administration Guide > Applets > getWebtopURL (framework applet)

getWebtopURL (framework applet)

Syntax

Skip past command syntax or program codestring getWebtopURL()

Description

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:

Examples

Skip past command syntax or program code<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).

Related topics