MyTips

操作成功/失败提示框,样式仿bootstrap

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://greasyfork.org/scripts/411517-mytips/code/MyTips.js?version=851635

Author
wish king
Ratings
0 0 0
Version
0.1.2
Created
Updated
License
N/A
Applies to
All sites
操作成功/失败提示框,样式仿bootstrap

代码调用:

1. 引用js
// @require https://greasyfork.org/scripts/411517-mytips/code/MyTips.js?version=851634

2. 调用代码,如:
MyTips.sucessTips("执行成功");
MyTips.errorTips("执行失败");
MyTips.errorTips("执行失败", 30000, {left:10}, {width:500});