filters.glow 如何正确使用

lhjtc8257 2011-12-07 03:53:59
<component>
<attach for="element" event="onmouseover" handler="hig_lite" />
<attach for="element" event="onmouseout" handler="low_lite" />
<script language="javascript">
function hig_lite()
{
element.filters.glow.strength=5;
}
function low_lite()
{
element.filters.glow.strength=0;
}
</script>
<component>

页面提示"element.filters.glow.strength"为空 请问如何调试成功
(attach for的作用是什么呀?)
...全文
41 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

8,906

社区成员

发帖
与我相关
我的任务
社区描述
XML/XSL相关问题讨论专区
社区管理员
  • XML/XSL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧