各位:默认时鼠标移动到图像按钮上会显示一个"手"的样子.
我应该如何在程序中更改它的样子呢?ImgBtn_First.Style.Add("cursor","hand");请指点,谢谢!

解决方案 »

  1.   

    onmouseover="this.style.cursor='hand';"
      

  2.   

    onmouseover="javascript:this.style.cursor=\"hand\";"
      

  3.   

    http://www.baron.com.cn/javascript/index7.asp?page=1
      

  4.   

    http://bbs.iaiai.com/forum/viewthread.php?tid=1790
      

  5.   

    我是要更改它的.
    也就是说,我即使要"手",也要一个"键头"
    imgagebtton可用时显示"手"
    不可用时显示"键头"写在服务端.
      

  6.   

    Cursor = Cursors. ...(后面是枚举 自己选)
      

  7.   

    this.ImageButton1.Attributes.Add("style","cursor:wait");
    this.ImageButton1.Attributes.Add("style","cursor:hand");
      

  8.   

    谢谢!
    this.ImageButton1.Attributes.Add("style","cursor:wait");
    this.ImageButton1.Attributes.Add("style","cursor:hand");
    是我要的
      

  9.   

    //****例如
    .CSS Code
    .ButSaveSytel
    {
      background-image:url(../images/save.gif);
      background-repeat:repeat;
      background-attachment:fixed;
      border-bottom-style:none;
      border-top-style:none;
      border-left-style:none;
      border-right-style:none;
      font-size:12px;
      font-family:宋体;
      cursor:hand;
    }//****调用
    <input id=butSave Class=ButSaveSytel type=button runat=server/>
      

  10.   

    添加扩展控件,然后再css中进行设定,鼠标类型往上多的是,ani类型