HBCMS更多的中文手册参考:

downloadTotal Property

DHTML中文手册

Retrieves a value that indicates the total size of the file (in bytes) downloaded.

dhtml语法

HTMLN/A
Scripting[ idownloadTotal = ] object.downloadTotal

DHTML可能的值

idownloadTotalInteger that receives the total size of the file (in bytes) downloaded.

The property is read-only. The property has no default value.

DHTML代码范例

This example demonstrates how to retrieve the file size (in bytes) downloaded using the downloadTotal property.

<HTML xmlns:t= "urn:schemas-microsoft-com:time">
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{behavior:url(#default#time2)}
</STYLE>
<BODY>
<t:video id="mp2"
src="/hbcms/php/r.php?url=http%3A%2F%2Fmsdn.microsoft.com../../common/samples/author/behaviors/media/movie.avi"/>
<P>
DownloadTotal:
<SPAN class="time" dur="0.1" repeatCount="indefinite"
onrepeat="innerText=mp2.downloadTotal;">0</SPAN>
</P>
</BODY>
</HTML>
This feature requires Microsoft?Internet Explorer 6 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

applies to

t:ANIMATION, t:AUDIO, t:IMG, t:MEDIA, t:REF, t:VIDEO

更多语法参考

Introduction to HTML+TIME