bootstrap的弹出提示,有几个问题要问
1个回答
2014-11-27
展开全部
<!doctype html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>pomelo</title>
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="css/global.css" rel="stylesheet" media="screen">
<script type="text/javascript" src="js/jquery-1.10.0.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/socket.io.min.js"></script>
<script type="text/javascript" src="js/pomeloclient.js"></script>
</head>
<body style="padding:100px;">
<a href="#" class="btn btn-large btn-danger" data-toggle="popover" title="" data-content="And here's some amazing content. It's very engaging. right?" data-original-title="A Title" data-placement="bottom">Click to toggle popover</a>
<script>
$('a[data-toggle="popover"]').popover({
trigger : 'hover'
});
</script>
</body>
</html>
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询