HTML param 标签
HTML param 标签
param与name示例
<
param
name
=
"
wmode
"
value
=
"
window
"
/>
name为wmode用于设置flash窗口模式,value可取值window(默认值,始终位于html的顶层),opaque(允许flash上层可以有网页的遮挡),transparent(flash背景透明,有可能降低flash的性能)
<
param
name
=
"
wmode
"
value
=
"
opaque
"
/>
name为wmode用于设置flash窗口模式,value取值opaque(允许flash上层可以有网页的遮挡)
<
param
name
=
"
wmode
"
value
=
"
transparent
"
/>
name为wmode用于设置flash窗口模式,value取值transparent(flash背景透明,有可能降低flash的性能)
<
param
name
=
"
movie
"
value
=
"
dreamdu.swf
"
/>
通过name与value定义了嵌入内容为dreamdu.swf的movie,
<
param
name
=
"
quality
"
value
=
"
high
"
/>
通过name与value定义了嵌入内容为高(high)显示质量(quality),可用参数是low、autolow、autohigh、medium、hight、best,默认为high
<
param
name
=
"
src
"
value
=
"
http://www.dreamdu.com/dreamdu.movie
"
/>
通过name与value定义了嵌入内容的原(src)为http://www.dreamdu.com/dreamdu.movie
<
param
name
=
"
autoplay
"
value
=
"
true
"
/>
通过name与value定义了嵌入内容打开(true)自动播放(autoplay)
<
param
name
=
"
allowFullScreen
"
value
=
"
true
"
/>
是否允许全屏,默认不允许全屏
<
param
name
=
"
vars
"
value
=
"
xml=dreamdu.xml
"
/>
给flash传递参数,多个参数可以使用&
符号连接,例如k1=v1&k2=v2&k3=v3;也可以传递xml文件,例如xml=dreamd.xml
<
param
name
=
"
bgColor
"
value
=
"
#ff6600
"
/>
设置flash的背景色
<
param
name
=
"
themenu
"
value
=
"
false
"
/>
设置flash的右键菜单
<
param
name
=
"
scale
"
value
=
"
default
"
/>
设置flash缩放模式,value取值为showall(显示全部内容,保持比例,但是上下,或者左右可能有空白), noborder(缩放可以裁减内容,保持比例,但是不留空白), exactfit(缩放按照flash设置的高度和宽度,不保持比例),noscale(不缩放,原始比例)
<
param
name
=
"
salign
"
value
=
"
TL
"
/>
设置flash缩放的参考点,可用参数L(左侧),R(右侧),T(上侧),B(下侧),TL(左上),TR(右上),BL(左下),BR(右下),默认以中心作为参考点
<
param
name
=
"
base
"
value
=
"
url
"
/>
设置flash相对参考路径,可以参考base标签
http://www.dreamdu.com/xhtml/tag_param/