注(在MyEclipse中新建一个jsp文件然后把代码复制到当中即可!)
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
MSN 弹出消息框function MessShow(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 = action;
this.width = width?width:250;
this.height = height?height:150;
this.timeout = 250; //消息停留时间
this.speed = 10; //消息速度,越小越快
this.step = 2; //移动步长
this.right = screen.width -1;
this.bottom = screen.height;
this.left = this.right - this.width;
this.top = this.bottom - this.height