请教问题啦

hanchunyang123 2014-01-15 04:32:54
母版页a.master 有以下
<asp:ImageButton ID="send1" ToolTip="发送" ImageUrl="../Send.gif" runat="server" Height="32" Width="32" onmouseover="ImageOver()" onmouseout="ImageOut()"></asp:ImageButton><br/>

这种图片按钮的代码一般在哪里可以写?
...全文
65 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
youzelin 2014-01-15
  • 打赏
  • 举报
回复
引用 2 楼 hanchunyang123 的回复:
[quote=引用 1 楼 liuchaolin 的回复:] 一明用js来写 <script> jQuery("#send1").hover(function(){ImageOver();},function(){ImageOut();}); </script>
要实现点击的功能怎么写? 我在 onmouseout="ImageOut()"后面加onclick = "ImageOut()" 报错。[/quote] 他这个 imageover 和 imageout 应该是伪代码吧。只要是告诉你就是这么个大概的样子。
hanchunyang123 2014-01-15
  • 打赏
  • 举报
回复
引用 1 楼 liuchaolin 的回复:
一明用js来写 <script> jQuery("#send1").hover(function(){ImageOver();},function(){ImageOut();}); </script>
要实现点击的功能怎么写? 我在 onmouseout="ImageOut()"后面加onclick = "ImageOut()" 报错。
md5e 2014-01-15
  • 打赏
  • 举报
回复
一明用js来写 <script> jQuery("#send1").hover(function(){ImageOver();},function(){ImageOut();}); </script>

110,536

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

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