home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Java / ScriptBuilder / NOSB30_TRIAL.exe / data1.cab / Program_Files / CompLib / historyNav.scc < prev    next >
Encoding:
Text File  |  1998-10-05  |  3.1 KB  |  85 lines

  1. <!--Created with NetObjects Script Component Pad-->
  2. <!-- file HistoryNav.ecc
  3.         ScriptComponent Interface file for HistoryNav.js        -->
  4.  
  5.  
  6. <?XML?>
  7. <!DOCTYPE COMPONENT SYSTEM "ecmascriptcomponent.dtd">
  8.  
  9. <COMPONENT NAME="com.netobjects.HistoryNav" ENV="client"
  10.                DISPLAYNAME="HistoryNav"
  11.                HINT="Creates an HTML object that will track the sites visited during a session."
  12.                SRC="HistoryNav.js">
  13.     
  14.     <PROPERTY NAME="name"
  15.                  DISPLAYNAME="name"
  16.                  HINT="(REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page."
  17.                  DEFAULTVALUE="HistoryNav1">
  18.                  </PROPERTY>
  19.  
  20.     <PROPERTY NAME="selectName" TYPE="String"
  21.                  DISPLAYNAME="selectName"
  22.                  HINT="Enter the name of the HTML select object.">
  23.                  </PROPERTY>
  24.  
  25.     <PROPERTY NAME="domain"
  26.                  DISPLAYNAME="domain"
  27.                  HINT="The domain name being accessed (e.g. netobjects.com).">
  28.                  </PROPERTY>
  29.     
  30.     <PROPERTY NAME="firstLabel"
  31.                  DISPLAYNAME="firstLabel"
  32.                  HINT="Enter the label that you wish to have the first time the component opens.">
  33.                  </PROPERTY>
  34.  
  35.     <PROPERTY NAME="size"
  36.                  DISPLAYNAME="size"
  37.                  HINT="Enter the number of links that you wish to have a history of.">
  38.                  </PROPERTY>
  39.  
  40.     <METHOD NAME="historyListener"
  41.                DISPLAYNAME="History Listener()"
  42.                HINT="This method starts a recursive setTimeout loop to parse the URL's for the HistoryNav object.">
  43.                </METHOD>
  44.  
  45.     <METHOD NAME="addLink"
  46.                DISPLAYNAME="Add Link()"
  47.                HINT="This function adds a url and corresponding optional label to the links and labels arrays. It then calls update() to update the HTML select list. ">
  48.                </METHOD>
  49.  
  50.     <METHOD NAME="getOpenerURL"
  51.                DISPLAYNAME="Get OpenerURL()">
  52.                </METHOD>
  53.  
  54.     <METHOD NAME="isDuplicateURL"
  55.                DISPLAYNAME="Is DuplicateURL()"
  56.                HINT="This function compares the url parameter to all links and labels stored. It returns true or false to indicate whether or not url is a duplicate of a link already stored. ">
  57.       <PARAMETER NAME="url"/>
  58.                </METHOD>
  59.  
  60.     <METHOD NAME="refreshLinks"
  61.                DISPLAYNAME="Refresh Links()"
  62.                HINT="Method that removes the oldest link from the array.">
  63.                </METHOD>
  64.  
  65.     <METHOD NAME="render"
  66.                DISPLAYNAME="Render()"
  67.                HINT="Method that creates the HTML object and outputs it to the screen.">
  68.                </METHOD>
  69.  
  70.     <METHOD NAME="update"
  71.                DISPLAYNAME="Update()"
  72.                HINT="Method that updates the already created HTML object's data.">
  73.                </METHOD>
  74.  
  75.     <METHOD NAME="validateLocation"
  76.                DISPLAYNAME="Validate Location()"
  77.                HINT="Method that validates that a URL's syntax and format.">
  78.                </METHOD>
  79.  
  80.     <ICON SRC16="history.gif"/>
  81.  
  82.     <HELP SRC="HistoryNav.html"/>
  83.     
  84. </COMPONENT>
  85.