■:怎样使一个
yzyun 2003-09-09 03:06:28 怎样使一个<OBJECT>的canHaveHTML属性值是true?
是canHaveHTML=true(不行啊)吗?还是改变type的值?
为什么在IE5中设置events=true不起作用,事件不能被触发?
而IE6中不需设置events=true事件依然能够被触发?
<OBJECT id=myObj01 type="text/x-scriptlet" canHaveHTML=true events=true data="menu01.html" WIDTH="90" HEIGHT="86" align=left>
<param name=canHaveHTML value=true>
<div style='background-color:#66CCFF;width:90px;height:86px;z-index:2;'>
<span style="cursor:hand"><a href="Menu_main_EX.html"> 菜 单 项 1</a></span><BR>
<span style="cursor:hand"> 菜 单 项 2</span><BR>
<span style="cursor:hand"> 菜 单 项 3</span><BR>
<span style="cursor:hand"> 菜 单 项 4</span><BR>
<span style="cursor:hand"> 菜 单 项 5</span><BR>
<span style="cursor:hand"> 菜 单 项 6</span>
</div>
</OBJECT>