Format for time display in progress dialogs.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("TimeFormat", "Appearance=Words;PresentDirection=HMS;DigitsFormat=N;HideZero=TRUE"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setTimeFormat(value); value = getImageUploader("ImageUploaderID").getTimeFormat();
A string value that specifies a format using the following syntax:
variable1=value1;variable2=value2;...
The order and case sensitivity are not important. Possible values are:
Words
(standard), ColonSeparated
(XX:XX:XX).
H
, M
and S
symbols.
N
, NN
.
TRUE
, FALSE
.
Default value is "Appearance=Words;PresentDirection=HMS;DigitsFormat=N;HideZero=TRUE".
This property is necessary for localization of Image Uploader.
Here is an examples of the usage of this property. Say, you set the following value for it:
Appearance=Words;PresentDirection=HMS;DigitsFormat=N;HideZero=TRUE
Then all time values will be displayed like this:
5 minutes 30 seconds
or this:
1 hour 15 minutes 30 seconds