<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bootstrap3 Toast消息框插件|chajian.bootstrapmb.com</title>
<link href="http://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/bootoast.css">
<style type="text/css">
h3{color: #D5D6E2;}
</style>
</head>
<body>
<div class="container">
<div class="row" style="padding: 2em 0;">
<h3>点击按钮查看Toast效果</h3>
<button id="info" class="btn btn-info">Info</button>
<button id="success" class="btn btn-success">Success</button>
<button id="warning" class="btn btn-warning">Warning</button>
<button id="danger" class="btn btn-danger">Danger</button>
</div>
</div>
<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/bootoast.js"></script>
<script type="text/javascript">
$( "#info" ).click(function() {
bootoast({
message: 'This is an info toast message',
position:'right-bottom'
});
});
$( "#success" ).click(function() {
bootoast({
message: 'This is a success toast message',
type: 'success',
position:'right-bottom'
});
});
$( "#warning" ).click(function() {
bootoast({
message: 'This is a warning toast message',
type: 'warning',
position:'right-bottom',
timeout:2
});
});
$( "#danger" ).click(function() {
bootoast({
message: 'This is a danger toast message',
type: 'danger',
position:'right-bottom',
timeout:2
});
});
</script>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
bootstrap-toast 的消息提示toast
共5个文件
js:2个
html:2个
css:1个
2星 需积分: 40 13 下载量 144 浏览量
2018-12-03
12:46:49
上传
评论
收藏 40KB ZIP 举报
温馨提示
bootstrap-toast 的消息提示toastbootstrap-toast 的消息提示toastbootstrap-toast 的消息提示toastbootstrap-toast 的消息提示toastbootstrap-toast 的消息提示toastbootstrap-toast 的消息提示toast
资源推荐
资源详情
资源评论
收起资源包目录
Toast.zip (5个子文件)
Toast
js
jquery-1.11.0.min.js 94KB
bootoast.js 6KB
css
bootoast.css 1KB
index.html 2KB
index的副本.html 2KB
共 5 条
- 1
资源评论
- m0_376253552022-05-12弹出的吐司无法关闭
xiaowuhls
- 粉丝: 2
- 资源: 24
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功