右下角自动弹出提示框实现
摘要:因为有需求,当有新消息时,需要类似于QQ那样弹出提示框。实现如下:1、alertMessage.js/* * 消息构造 */ function CLASS_MSN_MESSAGE(id,width,height,caption,title,message,target,action){ this.id = id; this.title = title; this.caption= caption; this.message= message; this.target = target; this.action =...
阅读全文
posted @ 2012-12-31 17:46