消息提示和消息推送插件toastr

http://www.jq22.com/yanshi476

 

比较棒的消息提示和消息推送插件toastr

 

function myIntervalshow() {
// showPopup1(300, 100);
//参数设置,若用默认值可以省略以下面代
toastr.options = {
"closeButton": true,
"debug": false,
"positionClass": "toast-top-right",
"onclick": showlist,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "5000",
"extendedTimeOut": "1000",
"showEasing": "swing",
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "fadeOut"
}
toastr.info($("#<%=MessageInfoText.ClientID%>").text());

}
myIntervalshow();
function showlist() {
location.href = "../SJZD/HistoryPushMessage.aspx";
}

posted on 2016-06-22 15:42  張暁磊  阅读(466)  评论(0编辑  收藏  举报