Index Property



 
The Index property contains the index.


Syntax

    document.all["id_name"].Index [=long]
    
Possible Values
    Long value that specifies or retrieves the index.

    The property is read/write.
Remarks
    None.
Examples
    The following example shows the Index property when the link is clicked.

    <html>
    <head>
    <SCRIPT TYPE="text/javascript">
    function ShowProp()
    {
       alert(SKFileIcon.Index);
    }
    </SCRIPT>
    </head>
    <body>
    <OBJECT ID="SKFileIcon" width="16" height="16"
    CLASSID="CLSID:802B4DFC-E0AD-40DC-BFC2-EF5CB99E1291">
      <PARAM NAME="Index" value="1">
      <PARAM NAME="Text" VALUE="Optional text">
      <PARAM NAME="Path" VALUE="c:\programs\sitekiosk\sitekiosk.exe">
    </OBJECT>
    <br><br>
    <a href="javascript:ShowProp()">Show Index property</a>
    </body>
    </html>
    

Applies to
    SiteKiosk v6.5 (and later versions).

Back to top