我想用我的网页的this jQuery库。我复制所有代码在文章页面,然后粘贴到我的.html文件如下:我不能运行我的jQuery代码作为工具
<html>
<head>
<script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"></script>
<script type="text/javascript">
$("document").ready(function(){
$("#demo img[title]").tooltip();
});
</script>
</head>
<body>
<br />
<br />
<div id="demo">
<img src="image1.jpg" title="The tooltip text #1"/>
<img src="image2.jpg" title="The tooltip text #2"/>
<img src="image3.jpg" title="The tooltip text #3"/>
<img src="image4.jpg" title="The tooltip text #4"/>
</div>
</body>
</html>
但.tooltip类样式没有运行。我看不到背景图片和其他图片。 如何编辑我的.html文件?
另外,如果我想改变这个库的CSS样式,我该怎么办?
你添加链接的CSS文件....? –
其中是http://jquerytools.org/demos/tooltip/index.html中的css文件 – Birlikisgu
您是否收到任何错误? –