設置 APPLET、EMBED 或 OBJECT 元素的屬性初始值。
Sets the initial value of a property for an APPLET, EMBED, or OBJECT element.
PARAM 元素僅在 APPLET, EMBED 和 OBJECT 元素內有效。
注意 由 PARAM 元素設置的屬性不可由 PARAM 對象變更。
在 APPLET, EMBED 或 OBJECT 元素實例創(chuàng)建完成后,由 PARAM 元素設置的屬性無法用 param 對象更改。要更改對象的屬性,請使用由對象引出的腳本屬性。
此元素在 Internet Explorer 3.0 及以上版本的 HTML 中可用。
此元素不會改變顯示。
此元素不需要關閉標簽。
The PARAM element is valid within the APPLET, EMBED, and OBJECT elements.
Note Properties set by a PARAM element cannot be altered by changing the PARAM object.
After the APPLET, EMBED, or OBJECT element is instantiated, the property set by the PARAM element cannot be changed with the param object. To change the object‘s properties, use the script properties exposed by the object.
This element is available in HTML as of Internet Explorer 3.0.
This element is not rendered.
This element does not require a closing tag.
下面的例子顯示了 Internet Explorer 數(shù)據(jù)綁定組件的 outerHTML,這樣你就可以查看由 PARAM 元素指定的屬性。執(zhí)行這樣的檢查可以在調試 OBJECT 元素屬性時收集信息。除非重新初始化 outerHTML 對象,否則無法編輯對象的 outerHTML 屬性。
This example displays the Internet Explorer Data Binding component‘s outerHTML so you can view the properties assigned by the PARAM elements. You can perform this check to gather information when debugging an OBJECT element‘s properties. You cannot edit the object‘s outerHTML property without reintializing the outerHTML object.
// The OBJECT CLASSID below is for the
// Microsoft Internet Explorer Data Binding component
// Use just the following HTML and press the button
<OBJECT
ID=tdcContents
CLASSID="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83">
<PARAM NAME="DataURL" VALUE="DataBinding.csv">
</OBJECT>
<BUTTON onclick="oTxt.value=tdcContents.outerHTML">
Show Object outerHTML</BUTTON><BR/>
<TEXTAREA ID="oTxt" STYLE="height:400; width:450;padding:3; overflow=auto;"> </TEXTAREA>
//When the button is pressed the complete list of the object‘s
// PARAM elements display unformatted in the TEXTAREA as follows:
<OBJECT id=tdcContents classid=clsid:333C7BC4-460F-11D0-BC04-0080C7055A83>
<PARAM NAME="RowDelim" VALUE=""><PARAM NAME="FieldDelim" VALUE=",">
<PARAM NAME="TextQualifier" VALUE=‘"‘><PARAM NAME="EscapeChar" VALUE="">
<PARAM NAME="UseHeader" VALUE="0"><PARAM NAME="SortAscending" VALUE="-1">
<PARAM NAME="SortColumn" VALUE=""><PARAM NAME="FilterValue" VALUE="">
<PARAM NAME="FilterCriterion" VALUE="??"><PARAM NAME="FilterColumn" VALUE="">
<PARAM NAME="CharSet" VALUE=""><PARAM NAME="Language" VALUE="">
<PARAM NAME="CaseSensitive" VALUE="-1"><PARAM NAME="Sort" VALUE="">
<PARAM NAME="Filter" VALUE=""><PARAM NAME="AppendData" VALUE="0">
<PARAM NAME="DataURL" VALUE="DataBinding.csv">
<PARAM NAME="ReadyState" VALUE="4">
</OBJECT>