【发布时间】:2013-06-27 19:53:05
【问题描述】:
我正在尝试让 jquery backstretch 进入幻灯片。到目前为止,我的页面代码是直接从 backstretch 演示页面复制而来的:http://srobbin.com/demos/jquery-backstretch/examples/slideshow.html
职责是页面非常简单,到目前为止我的代码如下所示:
<head>
<title>Coconut Hotel Ecuador</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<script src="plugins/srobbin-jquery-backstretch-14ce02f/lib/jquery.min.js"></script>
<script src="plugins/srobbin-jquery-backstretch-14ce02f/jquery.backstretch.min.js"></script>
<script>
$.backstretch(["beach.jpg",
"swing.jpg"]);
</script>
我已经尝试过有和没有持续时间和褪色但没有快乐。此外,仅使用一个图像,它就可以正常工作。不止一个,它只是一个白色背景。看着萤火虫我得到这个错误:
<img style="position: absolute; display: none; margin: 0px; padding: 0px; border: medium none; z-index: -999999;" src="beach.jpg,swing.jpg">
明显找不到图片来源。
任何帮助表示赞赏。
【问题讨论】:
-
我能想到的唯一原因(如果它不是错误的话)是你的路径(到插件或图像)错误。