HBCMS更多的中文手册参考:

mimeType Property

DHTML中文手册

Retrieves the MIME content-type of the object.

dhtml语法

HTMLN/A
Scripting[ sMimeType = ] object.mimeType

DHTML可能的值

sMimeTypeString that receives the MIME content-type of the object.

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

Remarks

MIME is an abbreviation for Multipurpose Internet Mail Extension.

DHTML代码范例

This example uses the mimeType property to retrieve the MIME content-type of the media object.

<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>mimeType Property</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{ behavior: url(#default#time2);}
</STYLE>
</HEAD>
<BODY>
<t:video id="m1" src="../../common/samples/author/behaviors/media/movie.avi" />
<BR><BR>
<B>mimeType:</B>
<SPAN id="mimeType1" class="time" dur="1" repeatCount="indefinite"
onrepeat="mimeType1.innerText=m1.mimeType;"></SPAN>
</BODY>
</HTML>
This feature requires Microsoft?Internet Explorer 5.5 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