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 / showVisitsComponent.scc < prev   
Encoding:
Text File  |  1998-10-05  |  1.6 KB  |  46 lines

  1. <!-- file showVisisComponent.ecc
  2.         ScriptComponent Interface file for showVisits.js                        -->
  3.  
  4.  
  5. <?XML?>
  6. <!DOCTYPE COMPONENT SYSTEM "ecmascriptcomponent.dtd">
  7.  
  8. <COMPONENT NAME="com.netobjects.showVisitsComponent" ENV="client"
  9.                DISPLAYNAME="Show Personal Visits"
  10.                HINT="Creates a personal site visit counter using cookies."
  11.                SRC="showVisits.js">
  12.  
  13.     <PROPERTY NAME="name"
  14.                  DISPLAYNAME="name"
  15.                  HINT="(REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page."
  16.                  DEFAULTVALUE="personalVisitCounter1">
  17.     </PROPERTY>
  18.  
  19.     <PROPERTY NAME="Cookie"
  20.                  DISPLAYNAME="Cookie"
  21.                  HINT="Enter the name of the cookie component that is required for this component to work">
  22.     </PROPERTY>
  23.  
  24.     <PROPERTY NAME="duration" TYPE="NUMBER"
  25.                  DISPLAYNAME="duration"
  26.                  HINT="Enter the amount of time that based on the Time Type that you wish to track visits.">
  27.     </PROPERTY>
  28.  
  29.     <PROPERTY NAME="timetype" TYPE="STRING"
  30.                  DISPLAYNAME="timetype"
  31.                  HINT="Choose the type of time duration that you wish to track visits."
  32.                  VALUESET="day|hour"
  33.                  DEFAULTVALUE="day">
  34.     </PROPERTY>
  35.  
  36.     <METHOD NAME="getVisits"
  37.         DISPLAYNAME="Get Visits"
  38.         HINT="This method increase the counter each time that it is called and returns that value.">
  39.         <PARAMETER NAME="name" DISPLAYNAME="name" HINT="Name of the showVisitsComponent being used"/>
  40.     </METHOD>
  41.  
  42.     <ICON SRC16="showvisits.gif"/>
  43.  
  44.     <HELP SRC="ShowVisits.html"/>    
  45. </COMPONENT>
  46.