getWebtopURL (framework applet)

Syntax

string 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

<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
  • Framework applet