在str += "<DIV style='WORD-BREAK: break-all' align=left><A href='链接地址' hidefocus=true id='btCommand'><FONT color=#ff0000>" + this.message + "</FONT></A></DIV>"  

解决方案 »

  1.   

    还有两个参数可以利用    this.target = target;  
        this.action = action;  
      

  2.   

    这个不管用http://bbs.blueidea.com/thread-2869412-1-1.html
      

  3.   

    改了下:...
    var btCommand = oPopup.document.getElementById("btCommand");
    btCommand.target = this.target;
    btCommand.action = this.action;
        btCommand.onclick = function(){
    me.oncommand();
    if(this.action)open(this.action, this.target);
        }调用:
    var MSG1 = new CLASS_MSN_MESSAGE("aa",200,120,"短消息提示:","您有1封消息","今天请我吃饭哈","_blank","http://www.hansir.cn");
    ...