我试图让 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">
显然找不到图像源。
任何帮助表示赞赏。