1、错误描述
Uncaught TypeError: Cannot read property 'msie' of undefined
TypeError: a.browser is undefined
2、错误原因
(function(a){
a.alerts={verticalOffset:-75,horizontalOffset:0,repositionOnResize:true,overlayOpacity:1,overlayColor:"rgba(0, 0, 0, 0.25) none repeat scroll 0 0",draggable:true,okButton:" \u786e\u5b9a ",cancelButton:" \u53d6\u6d88 ",dialogClass:null,alert:function(b,c,d){if(c==null){c="\u63d0\u793a"}a.alerts._show(c,b,null,"alert",function(e){if(d){d(e)}},null,null,null,null)},
confirm:function(b,c,d){
if(c==null){c="\u8bf7\u786e\u8ba4"}
a.alerts._show(c,b,null,"confirm",function(e){
if(d){d(e)}},null,null,null,null)},
prompt:function(b,c,d,e){
if(d==null){d="\u8bf7\u586b\u5199"}
a.alerts._show(d,b,c,"prompt",function(f){
if(e){e(f)}},null,null,null,null)},
openBox:function(f,g,b,c,e,d,i){
if(g==null){g="\u63d0\u793a"}
a.alerts._show(g,f,null,"openBox",function(h){
if(i){i(h)}},b,c,e,d)},
overAlert:function(c,b){
a.alerts._overShow(c,b)},
_overShow:function(d,c){
if(c==null){c=3000}
var b=c+600;
a("body").append('<div id="over_container" style="display:none"><div id="over_message"></div></div>');a("#over_message").text(d).html(a("#over_message").text().replace(/\n/g,"<br />"));
if(a.alerts.dialogClass){
a("#over_container").addClass(a.alerts.dialogClass)}
var e=(a.browser.msie&&parseInt(a.browser.version)<=6)?"absolute":"fixed";
a("#over_container").css({position:e,zIndex:99999,width:350,padding:0,margin:0}).show("fast");
a("#over_container").css({minWidth:a("#over_container").outerWidth(),maxWidth:a("#over_container").outerWidth()});
a.alerts._overReposition();
setTimeout(function(){a("#over_container").hide("fast")},c);
setTimeout(function(){a("#over_container").remove()},b)},
_overReposition:function(){
var c=4;
var b=((a(window).width()/2)-(a("#over_container").o