0

スライドショーでjquery 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>

私は持続時間とフェードの有無にかかわらずそれを試しましたが、喜びはありません. さらに、1つの画像を使用するだけで問題なく動作します。複数あるのはただの白い背景です。firebug を見ると、次のエラーが表示されます。

<img style="position: absolute; display: none; margin: 0px; padding: 0px; border: medium none; z-index: -999999;" src="beach.jpg,swing.jpg">

明らかに画像ソースが見つかりません。

どんな助けでも感謝します。

4

1 に答える 1