Secure Global Desktop Administration Guide > Applets > getWebtopFramesetURL (framework applet)

getWebtopFramesetURL (framework applet)

Syntax

string getWebtopFramesetURL()

Description

The getWebtopFramesetURL method is used to get the URL for the webtop frameset. To select the correct theme and locale, call this method after the user has logged in.

If this method is:

Examples

<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.getWebtopFramesetURL();
      applet.showDocument(frameset, "MainFrame");
   }
}

</SCRIPT>

Defines a function that returns the URL of the webtop frameset. It assumes that the Framework applet is in a frame called "StateFrame" (this is its normal location).

Related topics