Path Property



 
The Path property contains the full path of the icon file.


Syntax

    document.all["id_name"].Path [=string]
    
Possible Values
    String that specifies or retrieves the full path.

    The property is read/write.
Remarks
    The icon file format can be .exe or .ico.
Examples
    The following example shows the Path property when the link is clicked.

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

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

Back to top