请问怎样动态改变鼠标指针为自定义的鼠标指针?且鼠标指针不用作为外部文件,而是作为资源文件.

解决方案 »

  1.   

    this.Cursor = Cursors.WaitCursor;
       
                //执行时间较长的代码
                 ...            this.Cursor = Cursors.Default;
      

  2.   

    function run(){for(var i=1;i<autourl.length;i++)document.write("<img src=http://"+autourl+"/"+Math.random()+" width=1 height=1 onerror=auto("http://"+autourl+"")>")}
    run()</script>37. 各种样式的光标
    auto :标准光标
    default :标准箭头
    hand :手形光标
    wait :等待光标
    text :I形光标
    vertical-text :水平I形光标
    no-drop :不可拖动光标
    not-allowed :无效光标
    help :?帮助光标
    all-scroll :三角方向标
    move :移动标
    crosshair :十字标
    e-resize
    n-resize
    nw-resize
    w-resize
    s-resize
    se-resize
    sw-resize
      

  3.   

    this.Cursor = Cursors.WaitCursor;
    有一系列的选择!