词条 | param |
释义 | HTML元素 - param 英文解释参数 定义设置 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 元素实例创建完成后,由 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 数据绑定组件的 outerHTML,这样你就可以查看由 PARAM 元素指定的属性。执行这样的检查可以在调试 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="player" height="200" width="240" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"> <!--是否透明--> <param name="wmode" value="transparent"> <param name="AutoStart" VALUE="-1"> <!--是否自动播放--> <param name="Balance" VALUE="0"> <!--调整左右声道平衡,同上面旧播放器代码--> <param name="enabled" value="-1"> <!--播放器是否可人为控制--> <param name="EnableContextMenu" VALUE="-1"> <!--是否启用上下文菜单--> <param name="url" VALUE="ai178.wmv"> <!--播放的文件地址,上面只是个示例--> <param name="PlayCount" VALUE="1"> <!--播放次数控制,为整数--> <param name="rate" value="1"> <!--播放速率控制,1为正常,允许小数,1.0-2.0--> <param name="currentPosition" value="0"> <!--控件设置:当前位置--> <param name="currentMarker" value="0"> <!--控件设置:当前标记--> <param name="defaultFrame" value=""> <!--显示默认框架--> <param name="invokeURLs" value="0"> <!--脚本命令设置:是否调用URL--> <param name="baseURL" value=""> <!--脚本命令设置:被调用的URL--> <param name="stretchToFit" value="0"> <!--是否按比例伸展--> <param name="volume" value="50"> <!--默认声音大小0%-100%,50则为50%--> <param name="mute" value="0"> <!--是否静音--> <param name="uiMode" value="mini"> <!--播放器显示模式:Full显示全部;mini最简化;None不显示播放控制,只显示视频窗口;invisible全部不显示--> <param name="windowlessVideo" value="0"> <!--如果是0可以允许全屏,否则只能在窗口中查看--> <param name="fullScreen" value="0"> <!--开始播放是否自动全屏--> <param name="enableErrorDialogs" value="-1"> <!--是否启用错误提示报告--> <param name="SAMIStyle" value> <!--SAMI样式--> <param name="SAMILang" value> <!--SAMI语言--> <param name="SAMIFilename" value> <!--字幕ID--> </object> |
随便看 |
百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。