Jquery 网站启动滑块不工作

Jquery 网站启动滑块不工作,jquery,wordpress,slider,Jquery,Wordpress,Slider,我在一个客户网站上工作 第一个滑块正在工作,但不知道为什么它不工作。 滑块与你的生活用语 请任何人检查一下网站,让我知道问题出在哪里 下面是html代码 <div id="splash-show"> <div class="show-slide"> <img src="http://vaionyva.com/wp-content/themes/perfekto/images/splash/yourlife.png"> <!--/show-slid

我在一个客户网站上工作

第一个滑块正在工作,但不知道为什么它不工作。 滑块与你的生活用语

请任何人检查一下网站,让我知道问题出在哪里 下面是html代码

<div id="splash-show">
<div class="show-slide">
    <img src="http://vaionyva.com/wp-content/themes/perfekto/images/splash/yourlife.png">
<!--/show-slide--></div>
<div class="show-slide">
    <img src="http://vaionyva.com/wp-content/themes/perfekto/images/splash/yourlove.png">
<!--/show-slide--></div>
<div class="show-slide">
    <img src="http://vaionyva.com/wp-content/themes/perfekto/images/splash/thismoment.png">
<!--/show-slide--></div>
<div class="show-slide">
    <img src="http://vaionyva.com/wp-content/themes/perfekto/images/splash/logo.png">
<!--/show-slide--></div>


您似乎在为Wordpress使用超大字体

当我加载你的网站时,我看到的第一个图像是“你的生活”幻灯片,但在网页/整个幻灯片加载后,它消失了,因此我认为问题在于,所述图像本身并没有成为幻灯片的一部分

如果我正确理解了您的问题,您可以轻松地将图像添加到javascript中:

    <script type="text/javascript">  
            jQuery(document).ready(function($) {
                $.supersized({
                                    slideshow               : 1,
                    autoplay        : 1,
                                                    start_slide             : 1,
                                                    random          : 1,
                    slide_interval          : 5000,
                    transition              : 1,
                    transition_speed    : 1000,
                    new_window      : 1,
                    pause_hover             : 1,
                                        stop_loop               : 1,
                    keyboard_nav            : 1,
                    performance     : 1,

                                                    image_protect       : 1,
                    image_path      : 'http://vaionyva.com/wp-content/plugins/wp-supersized/img/',
                    min_width       : 1200,
                    min_height      : 0,
                    vertical_center         : 1,
                    horizontal_center       : 1,
                                        fit_always          : 0,
                    fit_portrait            : 0,
                    fit_landscape       : 0,
                                    thumbnail_navigation    : 0,
                                        thumb_links             : 1,
                    slide_counter           : 0,
                    slide_captions          : 0,  
                                                    slides                  :  [
{image : 'http://vaionyva.com/wp-content/themes/perfekto/images/splash/yourlife.png', title : '', thumb : '', url : ''},
{image : 'http://vaionyva.com/wp-content/themes/perfekto/images/splash/yourlove.png', title : '', thumb : '', url : ''},
{image : 'http://vaionyva.com/wp-content/themes/perfekto/images/splash/thismoment.png', title : '', thumb : '', url : ''},
{image : 'http://vaionyva.com/wp-content/themes/perfekto/images/splash/logo.png', title : '', thumb : '', url : ''},
{image : 'http://vaionyva.com/wp-content/sliders/IMG_0125.jpg', title : '', thumb : '', url : ''},
{image : 'http://vaionyva.com/wp-content/sliders/IMG_9668.jpg', title : '', thumb : '', url : ''},
{image : 'http://vaionyva.com/wp-content/sliders/IMG_9669.jpg', title : '', thumb : '', url : ''},
{image : 'http://vaionyva.com/wp-content/sliders/IMG_9950.jpg', title : '', thumb : '', url : ''},
{image : 'http://vaionyva.com/wp-content/sliders/IMG_9958.jpg', title : '', thumb : '', url : ''},
{image : 'http://vaionyva.com/wp-content/sliders/IMG_0122.JPG', title : '', thumb : '', url : ''},
{image : 'http://vaionyva.com/wp-content/sliders/IMG_9552.JPG', title : '', thumb : '', url : ''},
{image : 'http://vaionyva.com/wp-content/sliders/IMG_9610.JPG', title : '', thumb : '', url : ''},
{image : 'http://vaionyva.com/wp-content/sliders/IMG_9794.JPG', title : '', thumb : '', url : ''},
{image : 'http://vaionyva.com/wp-content/sliders/IMG_9937.JPG', title : '', thumb : '', url : ''},
{image : 'http://vaionyva.com/wp-content/sliders/IMG_9995.JPG', title : '', thumb : '', url : ''}],
                                        slide_links             : 'blank',
                                        progress_bar        : 0,                        
                    mouse_scrub     : 1                                             
                }); 
            });
        </script>

jQuery(文档).ready(函数($){
美元。超大({
幻灯片:1,
自动播放:1,
开始幻灯片:1,
随机:1,,
滑动间隔:5000,
过渡:1,
转换速度:1000,
新窗口:1,
暂停悬停:1,
停止循环:1,
键盘导航:1,
表现:1,,
图像保护:1,
图像路径:'http://vaionyva.com/wp-content/plugins/wp-supersized/img/',
最小宽度:1200,
最小高度:0,
垂直中心:1,
水平中心:1,
始终适合:0,
fit_肖像:0,
适合的景观:0,
缩略图导航:0,
拇指链接:1,
滑动计数器:0,
幻灯片标题:0,
幻灯片:[
{图像:'http://vaionyva.com/wp-content/themes/perfekto/images/splash/yourlife.png,标题:'',拇指:'',url:'},
{图像:'http://vaionyva.com/wp-content/themes/perfekto/images/splash/yourlove.png,标题:'',拇指:'',url:'},
{图像:'http://vaionyva.com/wp-content/themes/perfekto/images/splash/thismoment.png,标题:'',拇指:'',url:'},
{图像:'http://vaionyva.com/wp-content/themes/perfekto/images/splash/logo.png,标题:'',拇指:'',url:'},
{图像:'http://vaionyva.com/wp-content/sliders/IMG_0125.jpg,标题:'',拇指:'',url:'},
{图像:'http://vaionyva.com/wp-content/sliders/IMG_9668.jpg,标题:'',拇指:'',url:'},
{图像:'http://vaionyva.com/wp-content/sliders/IMG_9669.jpg,标题:'',拇指:'',url:'},
{图像:'http://vaionyva.com/wp-content/sliders/IMG_9950.jpg,标题:'',拇指:'',url:'},
{图像:'http://vaionyva.com/wp-content/sliders/IMG_9958.jpg,标题:'',拇指:'',url:'},
{图像:'http://vaionyva.com/wp-content/sliders/IMG_0122.JPG,标题:'',拇指:'',url:'},
{图像:'http://vaionyva.com/wp-content/sliders/IMG_9552.JPG,标题:'',拇指:'',url:'},
{图像:'http://vaionyva.com/wp-content/sliders/IMG_9610.JPG,标题:'',拇指:'',url:'},
{图像:'http://vaionyva.com/wp-content/sliders/IMG_9794.JPG,标题:'',拇指:'',url:'},
{图像:'http://vaionyva.com/wp-content/sliders/IMG_9937.JPG,标题:'',拇指:'',url:'},
{图像:'http://vaionyva.com/wp-content/sliders/IMG_9995.JPG,标题:'',拇指:'',url:''}],
幻灯片链接:“空白”,
进度条:0,
老鼠磨砂:1
}); 
});

到底什么不起作用,它应该是什么样子?“带着你的生活用语的滑块”不是一句话,也没有任何意义。请检查上面的代码。。我刚才补充说。它基本上是一个不工作的滑块。在此滑块之后,整个站点将加载。不知道是谁发明的。我只是在修正一些错误,像这样,没有什么东西在我看来是坏的?但有一些东西,这就是为什么滑块不工作的原因。我在Firebug中发现了这个错误。[周期]终止;选择器找到的零元素不知道这意味着什么请勾选复选标记以支持我的答案:)