home *** CD-ROM | disk | FTP | other *** search
/ ftp.novell.com / 2014.06.ftp.novell.com.tar / ftp.novell.com / forge / camtasia.msi / Cabs.w1.cab / CamtasiaMenuMaker.chm / scripts / seealso.js < prev   
Text File  |  2009-08-19  |  1KB  |  46 lines

  1. // Copyright (c) 2002-2005 Quadralay Corporation.  All rights reserved.
  2. //
  3.  
  4. function  WebWorksSeeAlso_Object()
  5. {
  6.   this.mSetTimeoutID = null;
  7.  
  8.   this.fOnClickButton = WebWorksSeeAlso_OnClickButton;
  9.   this.fOnClickLink   = WebWorksSeeAlso_OnClickLink;
  10.   this.fShowSeeAlso   = WebWorksSeeAlso_ShowSeeAlso;
  11. }
  12.  
  13. function  WebWorksSeeAlso_OnClickButton(ParamSeeAlsoObjectID)
  14. {
  15.   if (this.mSetTimeoutID == null)
  16.   {
  17.     this.mSetTimeoutID = setTimeout("window.WebWorksSeeAlso.fShowSeeAlso(\"" + ParamSeeAlsoObjectID + "\");", 10);
  18.   }
  19. }
  20.  
  21. function  WebWorksSeeAlso_OnClickLink(ParamSeeAlsoObjectID)
  22. {
  23.   if (this.mSetTimeoutID == null)
  24.   {
  25.     this.mSetTimeoutID = setTimeout("window.WebWorksSeeAlso.fShowSeeAlso(\"" + ParamSeeAlsoObjectID + "\");", 10);
  26.   }
  27. }
  28.  
  29. function  WebWorksSeeAlso_ShowSeeAlso(ParamSeeAlsoObjectID)
  30. {
  31.   var  VarSeeAlsoObject;
  32.  
  33.   // Insure target object exists
  34.   //
  35.   VarSeeAlsoObject = eval("document." + ParamSeeAlsoObjectID);
  36.   if ((VarSeeAlsoObject != null) &&
  37.       (typeof(VarSeeAlsoObject) != "undefined"))
  38.   {
  39.     // Show see also control
  40.     //
  41.     setTimeout("document." + ParamSeeAlsoObjectID + ".Click();", 1);
  42.   }
  43.  
  44.   this.mSetTimeoutID = null;
  45. }
  46.