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

时间:2022-09-15 18:01:44

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";
}