<div style="onmouseout:hello()"></div>
没有这样的用法,应该是:
<div onmouseout="hello()"></div>如果将div改为服务器控件Panel,可以在Page_Load中为它添加onmouseover事件,象这样:Panel1.Attributes.Add("onmouseover","hello()");
没有这样的用法,应该是:
<div onmouseout="hello()"></div>如果将div改为服务器控件Panel,可以在Page_Load中为它添加onmouseover事件,象这样:Panel1.Attributes.Add("onmouseover","hello()");
解决方案 »
- 如何导出 Active Directory的资料,然后在另一台电脑导入?
- 在Asp.net中如何合并多个Word文档?
- 如何用C#读取ORACLE数据库存储的图片????
- 用Table做DataGrid的模版列的问题
- 关于类中的DataReader
- 想在用户点击DropDownlist的下拉按钮时弹出一个Calender控件,选择日期之后,将该日期显示于DropDownlist中,该如何实现?
- 130分求哪有asp.net做的论谈源码下载学习?
- 关于2.0中membership
- ASP.NET access通配符问题,“%”和“*”都查不出结果
- 关于ASP。NET安装程序的问题,如何获取安装程序执行时,用户输入的创建的虚拟目录的名字
- 刚学sql存储过程的第一个问题,不知道从何问起,请帮忙!多谢!
- 关于IIS配置问题
<tvns:treeview id="TreeView1" OnMouseOver="hello()" imageUrl="./image/icon_folder.gif" selectedNodeIndex="0" HelperID="__TreeView1_State__" systemImagesPath="/webctrl_client/1_0/treeimages/" onexpand="javascript: if (this.clickedNodeIndex != null) this.queueEvent('onexpand', this.clickedNodeIndex)" oncollapse="javascript: if (this.clickedNodeIndex != null) this.queueEvent('oncollapse', this.clickedNodeIndex)" oncheck="javascript: if (this.clickedNodeIndex != null) this.queueEvent('oncheck', this.clickedNodeIndex)" onselectedindexchange="javascript: if (event.oldTreeNodeIndex != event.newTreeNodeIndex) this.queueEvent('onselectedindexchange', event.oldTreeNodeIndex + ',' + event.newTreeNodeIndex)" onfirequeuedevents="javascript: window.setTimeout('__doPostBack(\'TreeView1\',\'\')', 0, 'JavaScript')" style="border-style:Ridge;height:352px;width:328px;Z-INDEX: 108; LEFT: 440px; POSITION: absolute; TOP: 0px">
<tvns:treenode Selected="true">
FldFtp<tvns:treenode NodeData="g:\">
incoming
</tvns:treenode>
</tvns:treenode>
</tvns:treeview></FONT>
Panel1.Attributes.Add("onmouseover","hello()");
<script language="vbscript">
dim i
i=0
sub hello
i=i-1
if i>-100 then
settimeout "hello",5
Treeview1.style.top=i
end if
end sub
</script>