<OBJECT id="flash1" classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 WIDTH=468 HEIGHT=95> <PARAM NAME=movie VALUE=http://ad4.sina.com.cn/zhlx/sx359-718-hptl.swf> <PARAM NAME=quality VALUE=high> <EMBED src=http://ad4.sina.com.cn/zhlx/sx359-718-hptl.swf quality=high WIDTH=468 HEIGHT=95 TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash></EMBED></OBJECT><input type=button id=btn1 value="变小" onclick="changeSize(1)">
<input type=button id=btn2 value="变大" onclick="changeSize(2)">
<input type=button id=btn3 value="改变flash" onclick="changeFlash(1)">
<input type=button id=btn4 value="改变flash" onclick="changeFlash(2)"><script>
function changeSize(id)
{
if(id==1)
{
document.all("flash1").width=200;
document.all("flash1").height=100;
}
else
{
document.all("flash1").width=400;
document.all("flash1").height=200;
}
}function changeFlash(id)
{
if(id==1)
document.all("flash1").movie = "http://ad4.sina.com.cn/shc/jiahuahomeleft041.swf";
else
document.all("flash1").movie = "http://ad4.sina.com.cn/zhlx/sx359-718-hptl.swf";
}
</script>
<input type=button id=btn2 value="变大" onclick="changeSize(2)">
<input type=button id=btn3 value="改变flash" onclick="changeFlash(1)">
<input type=button id=btn4 value="改变flash" onclick="changeFlash(2)"><script>
function changeSize(id)
{
if(id==1)
{
document.all("flash1").width=200;
document.all("flash1").height=100;
}
else
{
document.all("flash1").width=400;
document.all("flash1").height=200;
}
}function changeFlash(id)
{
if(id==1)
document.all("flash1").movie = "http://ad4.sina.com.cn/shc/jiahuahomeleft041.swf";
else
document.all("flash1").movie = "http://ad4.sina.com.cn/zhlx/sx359-718-hptl.swf";
}
</script>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货