此题似乎无解,因为客户端的鼠标形状由客户端系统决定,就象字体一样如果你在页面中
使用的字体在别的客户端不存在,则你的设置也无效,此其一;其二,cursor来自于系统定义,除非你程序能够自动更新客户端的系统级鼠标指针(可在控制面板--》鼠标--》指针中看到当前可用形状),’而作到这一点javascript是不可能了;其三,或者你没有把问题表达清楚,使我误解了;

解决方案 »

  1.   

    <div STYLE="cursor:crosshair;">
    cursor type:
    crosshair default hand 
    move e-resize ne-resize
    n-resize nw-resize w-resize       
    sw-resize s-resize se-resize      
    text wait help 
      

  2.   

    <div style="cursor:hand">
    或:
    style="cursor:crosshair" 
    style="cursor:text" style="cursor:wait" 
    style="cursor:move" style="cursor:help" 
    style="cursor:e-resize" style="cursor:n-resize" 
    style="cursor:nw-resize" style="cursor:w-resize" 
    style="cursor:s-resize" style="cursor:se-resize" 
    style="cursor:sw-resize" 
      

  3.   

    两位老兄的方法只是静态的,我的意思是只在ondrag时用javascript代码动态改变,而且只在需要的页面,yankee老兄能否在想想
      

  4.   

    to cnsky & jashy:
    两位提供的都是系统内部存在的cursor,而lusongfang说的好象是自定义,不知我说的对不对如果是的话,我建议你不要再考虑了;如果非要作的话,可如下考虑,但我没尝试:
    1:首先定义一个鼠标跟随的<div>,尽量小一些,其内放置你想要得鼠标形状图片;
    2:拖动物体时,隐藏鼠标,显示该<div>
    3:拖动完后,释放回原状态;如果试成功了通知我!
      

  5.   

    to yankee:
    sorry,怎样隐藏鼠标?
      

  6.   

    想要动态的也是一样,就把cusor type和具体的事件连起来就是了,比如鼠标按下用move,用别的。再具体就得写代码了,good luck :)
      

  7.   

    用dm中的 css很简单的
    只应用this docu就可以了
      

  8.   

    拖动过程
      ondragstart,ondrag,ondragenter,ondrop,ondragend,在哪个事件里写??我写的是一个
    很复杂的功能,目前一个页面上javascript已有1600行。