如何给这个仿msn消息提示的内容加个链接 在str += "<DIV style='WORD-BREAK: break-all' align=left><A href='链接地址' hidefocus=true id='btCommand'><FONT color=#ff0000>" + this.message + "</FONT></A></DIV>" 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 还有两个参数可以利用 this.target = target; this.action = action; 这个不管用http://bbs.blueidea.com/thread-2869412-1-1.html 改了下:...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");... 请高手为我讲解openlayers的初学的方法 iframe javascript:location.replace(url)路径问题 js解析html标签 在js中怎么解析chunk编码? json怎样实现动态添加 请教一段JS鼠标悬浮TIP代码 firefox下,动态添加表格行,并且对单元格赋值,怎么不行?请看下代码 怎么获取鼠标静止不动的时间,高手请救命啊!!急、急、急 请问怎样隐藏JavaScript代码? 怎么打开一个窗口,但此窗口不能被关闭 JS获取服务器端时间! 限制输入框的前17位只能输入数字。第18位可以输入数字或者字母。
this.action = action;
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");
...