Filename Property
The Filename property contains the path of the picture file.
Syntax
document.all["id_name"].Filename [=string]
|
Possible Values
String that specifies or retrieves the filename.
|
The property is read/write.
Remarks
The file must be a bitmap.
Examples
The following example shows the Filename property when the link is clicked.
<html>
<head>
<SCRIPT TYPE="text/javascript">
function ShowProp()
{
alert(document.all['SKPictureControl'].Filename);
}
</SCRIPT>
</head>
<body>
<OBJECT ID="SKPictureControl" width="100" height="100"
CLASSID="CLSID:F5996585-1B2B-442C-8185-FCB5ABC71BE2">
<PARAM NAME="Filename" value="c:\mypic.bmp">
<PARAM NAME="Stretch" value="0">
<PARAM NAME="KeepAspectRatio" value="1">
</OBJECT>
<br><br>
<a href="" onclick="javascript:ShowProp();">Show Filename</a>
</body>
</html>
|
Applies to
SiteKiosk v6.0 (and later versions).
Back to top