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 / ImageCtl / ActiveImageCtl.scc < prev    next >
Encoding:
Text File  |  1998-10-05  |  5.0 KB  |  153 lines

  1. <!--Created with NetObjects Script Component Pad-->
  2. <?XML VERSION="1.0"?>
  3. <!DOCTYPE COMPONENT SYSTEM "ecmascriptcomponent.dtd">
  4.  
  5. <COMPONENT NAME="com.netobjects.ActiveImg" ENV="client"
  6.                DISPLAYNAME="Active Image"
  7.                HINT="Creates an image control that offers a variety of common features, including rollover and onClick effects."
  8.                VERSION="1.0"
  9.                SRC="imageCtl.js">
  10.  
  11.    <ICON SRC16="ActiveImageCtlIcon.gif"/>
  12.    <META NAME="COPYRIGHT" VALUE="Copyright ⌐1998, NetObjects, Inc."/>
  13.    
  14.    <PROPERTY NAME="name" TYPE="STRING"
  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="ActiveImg1">
  18.                  </PROPERTY>
  19.  
  20.    <PROPERTY NAME="linkURL" TYPE="STRING"
  21.                  DISPLAYNAME="linkURL"
  22.                  HINT="Enter link URL."
  23.                  DEFAULTVALUE="http://">
  24.                  </PROPERTY>
  25.  
  26.    <PROPERTY NAME="alt" TYPE="STRING"
  27.                  DISPLAYNAME="alt"
  28.                  HINT="Enter alternative text or hint.">
  29.                  </PROPERTY>
  30.  
  31.    
  32.    
  33.     <PROPERTY NAME="defaultImage" TYPE="STRING"
  34.                  DISPLAYNAME="defaultImage"
  35.                  HINT="(REQUIRED) Enter URL to default or initial image to display.">
  36.                  </PROPERTY>
  37.  
  38.    <PROPERTY NAME="mouseOutImage" TYPE="STRING"
  39.                  DISPLAYNAME="mouseOutImage"
  40.                  HINT="Enter mouse out image URL.">
  41.                  </PROPERTY>
  42.  
  43.    <PROPERTY NAME="mouseOverImage" TYPE="STRING"
  44.                  DISPLAYNAME="mouseOverImage"
  45.                  HINT="Enter mouse over image URL.">
  46.                  </PROPERTY>
  47.  
  48.    <PROPERTY NAME="mouseDownImage" TYPE="STRING"
  49.                  DISPLAYNAME="mouseDownImage"
  50.                  HINT="Enter mouse down image URL.">
  51.                  </PROPERTY>
  52.  
  53.    <PROPERTY NAME="mouseUpImage" TYPE="STRING"
  54.                  DISPLAYNAME="mouseUpImage"
  55.                  HINT="Enter mouse up image URL.">
  56.                  </PROPERTY>
  57.  
  58.    <PROPERTY NAME="stateOnImage" TYPE="STRING"
  59.                  DISPLAYNAME="stateOnImage"
  60.                  HINT="Enter image URL for on state.">
  61.                  </PROPERTY>
  62.  
  63.    <PROPERTY NAME="stateOffImage" TYPE="STRING"
  64.                  DISPLAYNAME="stateOffImage"
  65.                  HINT="Enter image URL for off state">
  66.                  </PROPERTY>
  67.  
  68.  
  69.    <PROPERTY NAME="stateOn" TYPE="BOOLEAN"
  70.                  DISPLAYNAME="stateOn"
  71.                  HINT="Is current state on?"
  72.                  VALUESET="true|false"
  73.                  DEFAULTVALUE="false">
  74.                  </PROPERTY>
  75.  
  76.  
  77.    <PROPERTY NAME="height" TYPE="NUMBER"
  78.                  DISPLAYNAME="height"
  79.                  HINT="Enter the image height.">
  80.                  </PROPERTY>
  81.  
  82.    <PROPERTY NAME="width" TYPE="NUMBER"
  83.                  DISPLAYNAME="width"
  84.                  HINT="Enter the image width.">
  85.                  </PROPERTY>
  86.  
  87.    <PROPERTY NAME="target" TYPE="STRING"
  88.                  DISPLAYNAME="target"
  89.                  HINT="Enter the link target.">
  90.                  </PROPERTY>
  91.  
  92.    <PROPERTY NAME="border" TYPE="NUMBER"
  93.                  DISPLAYNAME="border"
  94.                  HINT="Enter the image border."
  95.                  DEFAULTVALUE="0">
  96.                  </PROPERTY>
  97.  
  98.  
  99.    <PROPERTY NAME="testMode" TYPE="STRING"
  100.                  DISPLAYNAME="testMode"
  101.                  HINT="Select the test mode."
  102.                  VALUESET="off|alerts|text"
  103.                  DEFAULTVALUE="off">
  104.                  </PROPERTY>
  105.  
  106.   
  107.    <METHOD NAME="render"
  108.                DISPLAYNAME="Render"
  109.                ENV="CLIENT"
  110.                HINT="Renders control.">
  111.                </METHOD>
  112.  
  113.    <EVENT NAME="onClick"
  114.               DISPLAYNAME="onClick"
  115.               HINT="Event fires on completed click of mouse button."/>
  116.  
  117.    <EVENT NAME="onMouseDown"
  118.               DISPLAYNAME="onMouseDown"
  119.               HINT="Event fires on down press of mouse button."/>
  120.  
  121.    <EVENT NAME="onMouseUp"
  122.               DISPLAYNAME="onMouseUp"
  123.               HINT="Event fires on upward movement or release of mouse button."/>
  124.  
  125.    <EVENT NAME="onMouseOver"
  126.               DISPLAYNAME="onMouseOver"
  127.               HINT="Event fires on rolling cursor over image."/>
  128.  
  129.    <EVENT NAME="onMouseOut"
  130.               DISPLAYNAME="onMouseOut"
  131.               HINT="Event fires on rolling cursor off of image."/>
  132.  
  133.    <EVENT NAME="onError"
  134.               DISPLAYNAME="onError"
  135.               HINT="Event fires on failure to load image."/>
  136.  
  137.    <EVENT NAME="onAbort"
  138.               DISPLAYNAME="onAbort"
  139.               HINT="Event fires on user aborted loading of image."/>
  140.  
  141.    <EVENT NAME="onLoad"
  142.               DISPLAYNAME="onLoad"
  143.               HINT="Event fires on successful load of image."/>
  144.  
  145.    <EVENT NAME="onRender"
  146.               DISPLAYNAME="onRender"
  147.               HINT="Event fires on render of image control."/>
  148.  
  149.     <HELP SRC="ActiveImage.html"/>
  150.  
  151.  
  152. </COMPONENT>
  153.