[英]cluetip jquery plugin : how can show laoding image inside the tooltip popup
I am using cluetip jquery plugin and I want to show laoding image inside the tooltip popup. 我正在使用cluetip jquery插件,并且想在工具提示弹出窗口中显示laoding图像。
Just like facebook do. 就像facebook一样。 It shows a "loading..." text inside the popup window and then show the data. 它在弹出窗口中显示“正在加载...”文本,然后显示数据。
Thanks 谢谢
Here is an demo which can help you 这是一个可以帮助您的演示
My root folder contains the following files 我的根文件夹包含以下文件
My index.html has the following code 我的index.html具有以下代码
<html >
<head>
<link rel="stylesheet" href="jquery.cluetip.css" type="text/css" />
<script src="jquery.min.js"></script>
<script src="jquery.cluetip.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('a.sticky').cluetip();
$('#sticky').cluetip({
arrows: true,
sticky: true,
tracking: true,
mouseOutClose: true,
closePosition: 'title',
cursor: 'pointer'
});
});
</script>
</head>
<body >
<strong>Demo for tooptip</strong> <br>
<a id="sticky" href="#" rel="demo.html" title="Demo">ToopTip with arrows</a>
</body>
</html>
Here is the code for demo.html 这是demo.html的代码
<html >
<head>
</head>
<body class="page">
<img src="Koala.jpg" width="65" height="65" alt="Koala" />
<p>The koala is an arboreal herbivorous marsupial native to Australia, and the only extant representative of the family Phascolarctidae.</p>
</body>
</html>
Now open the index.html page and get the clueTip working 现在打开index.html页面,使clueTip正常工作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.