CommonDialogs Object
The CommonDialogs object provides standard dialogs.
Members Table
The following table lists the members provided by the CommonDialogs object.
Remarks
This object is available through the SiteKioskUI object.
Use the CommonDialogs object to display file and folder dialogs.
Note that the path of a file using SiteKiosk objects must be allowed in the
SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
if it is not a browser skin file.
Examples
The following example displays a 'open file' dialog and shows the selected filename in an alert window.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
dialogObj = SiteKiosk.SiteKioskUI.CommonDialogs;
alert(dialogObj.OpenFileDialog(0, "*.exe", "c:/dir"));
</SCRIPT>
|
Applies to
SiteKiosk v6.0 (and later versions).
Back to top