0

.我想使用 jquery 气泡弹出来创建一个气泡。我读到文件夹“jquerybubblepopup-themes”应该复制到我网站的根目录中。另外,我有一个不直接在我网站的根目录下的 jsp,而是在“mywebsite/WEB-INF/jsp/admin/myfile.jsp”下。它包含这个 javascript 代码:

<script type="text/javascript">
$(document).ready(function(){
$('.infoTip').CreateBubblePopup({
themeName: 'black',
themePath: 'jquerybubblepopup-themes'                                                                
});
});
</script>

我在“themePath”中读到,应该设置“jquerybubblepopup-themes”的相对路径。

在我的情况下,无法加载“jquerybubblepopup-themes”,如何修改 themePath 值以便加载文件“jquerybubblepopup-themes”?提前致谢

4

1 回答 1

0

您应该在浏览器控制台中看到错误,然后您可以看到它正在尝试搜索主题(路径)的位置,并相应地调整路径

于 2013-06-04T10:58:36.603 回答