Javascript 放大弹出窗口未弹出可疑jQuery错误

Javascript 放大弹出窗口未弹出可疑jQuery错误,javascript,jquery,html,Javascript,Jquery,Html,页面如下: 以下是我的整个jQuery代码堆栈: /* global $:false */ (function(){ "use strict"; $(window).load(function(){ $("#nav-sticky").sticky({ topSpacing: 0 }); }); /*主页实体动画功能 =====================================================================*/ $(wi

页面如下:

以下是我的整个jQuery代码堆栈:

/* global $:false */

    (function(){

"use strict";
  $(window).load(function(){
    $("#nav-sticky").sticky({ topSpacing: 0 });
  });
/*主页实体动画功能 =====================================================================*/

$(window).scroll(function(){ // scroll event 
    var windowTop = $(window).scrollTop(), // returns number
        solid_action = $('.solid-visuals').offset().top-500;
    if (windowTop >= solid_action)
    {
        $('.solid-iphone,.solid-imac').addClass('animated fadeInUp');
    }   
});
$(document).ready(function() {  
  $("body").niceScroll({
      touchbehavior:false,
      cursorcolor:"#000",
      cursoropacitymax:1,
      cursorwidth:8,
      background:"#333",
      autohidemode:true
  });
});

$(function(){var       nice=$(":nicescroll").getNiceScroll(0);$("#div1").html($("#div1").html()+' '+nice.version+' ($:'+$().jquery+')')})
$(function(){

    $(window).on("resize", function () {

    var etwrapper_height= $('.show-case-visual img').height();
    $('.et-wrapper').height(etwrapper_height);

    var etwrapper_basic_height= $('.folio-visual').height();
    $('.et-wrapper-basic').height(etwrapper_basic_height+100);

    var showcase_hover= $('.show-case-visual img').width();

     $('.show-case-visual').width(showcase_hover);
    $('.showcase-hover').width(showcase_hover-5);

    var $container = $('.masonry-container');
    $container.masonry({
      itemSelector: '.post-unit'
    });

  }).resize();
$('.flicker').jflickrfeed({
    limit: 9,
    qstrings: {
        id: '124962645@N03'
    },
    itemTemplate: '<li><a href="{{image_b}}"><img alt="{{title}}" src="{{image_s}}" /></a></li>'
});
$('#tweets').tweetable({
    /*add your username below*/
    username: 'dbzdieselparts', 
    time: true,
    rotate: true,
    speed: 4000, 
    limit: 4,
    replies: false,
    position: 'append',
    loading: 'loading...' ,
    failed: "Sorry, our twitter feed cannot be loaded right now. You can find us directly on Twitter @dbzdieselparts",
    html5: true
});
$('.testi-inner').flexslider({
    animation: "slide",
    directionNav: false,
    controlNav: true,
    pauseOnHover: true, 
    slideshow: false,
    direction: "horizontal" //Direction of slides
});
$('.blog-slider').flexslider({
  animation: "slide",
  controlNav: false
});
$('.flexslider').flexslider({
  animation: "slide"
});
$(document).ready(function() {
  $('.image-link').magnificPopup({type:'image'});
});
$(document).ready(function() {
$('#news_box_img_mode').lc_news_box({
     height: 260,
     min_horiz_w: 10,
     max_news: 24,
     news_per_time: 3,
     read_more_txt: '[read more...]',
     img_behavior: 'expand',
     read_more_btn: true,
     theme: 'dark',
     nav_arrows: 'side',
     social_share: true,
     layout: 'horizontal',
     boxed_news: true,
     carousel: true,
    expandable_news: true,
    horiz_img_mode: true,
    autoplay: true,
    slide_all: true,
    slideshow_time: 5000,
    animation_time: 1200,

     src : [
            {
                 type: 'facebook',
                 id: '394096404020062',
                link_target: '_blank'
             }
            ]
        });
});
$(function () {
  $('#nav').tinyNav({
    active: 'selected',
    indent: '→ ',
    header: '',
    label: ''
  });
});
/*平滑滚动 =====================================================================*/

$(window).scroll(function(){ // scroll event 
    var windowTop = $(window).scrollTop(), // returns number
        solid_action = $('.solid-visuals').offset().top-500;
    if (windowTop >= solid_action)
    {
        $('.solid-iphone,.solid-imac').addClass('animated fadeInUp');
    }   
});
$(document).ready(function() {  
  $("body").niceScroll({
      touchbehavior:false,
      cursorcolor:"#000",
      cursoropacitymax:1,
      cursorwidth:8,
      background:"#333",
      autohidemode:true
  });
});

$(function(){var       nice=$(":nicescroll").getNiceScroll(0);$("#div1").html($("#div1").html()+' '+nice.version+' ($:'+$().jquery+')')})
$(function(){

    $(window).on("resize", function () {

    var etwrapper_height= $('.show-case-visual img').height();
    $('.et-wrapper').height(etwrapper_height);

    var etwrapper_basic_height= $('.folio-visual').height();
    $('.et-wrapper-basic').height(etwrapper_basic_height+100);

    var showcase_hover= $('.show-case-visual img').width();

     $('.show-case-visual').width(showcase_hover);
    $('.showcase-hover').width(showcase_hover-5);

    var $container = $('.masonry-container');
    $container.masonry({
      itemSelector: '.post-unit'
    });

  }).resize();
$('.flicker').jflickrfeed({
    limit: 9,
    qstrings: {
        id: '124962645@N03'
    },
    itemTemplate: '<li><a href="{{image_b}}"><img alt="{{title}}" src="{{image_s}}" /></a></li>'
});
$('#tweets').tweetable({
    /*add your username below*/
    username: 'dbzdieselparts', 
    time: true,
    rotate: true,
    speed: 4000, 
    limit: 4,
    replies: false,
    position: 'append',
    loading: 'loading...' ,
    failed: "Sorry, our twitter feed cannot be loaded right now. You can find us directly on Twitter @dbzdieselparts",
    html5: true
});
$('.testi-inner').flexslider({
    animation: "slide",
    directionNav: false,
    controlNav: true,
    pauseOnHover: true, 
    slideshow: false,
    direction: "horizontal" //Direction of slides
});
$('.blog-slider').flexslider({
  animation: "slide",
  controlNav: false
});
$('.flexslider').flexslider({
  animation: "slide"
});
$(document).ready(function() {
  $('.image-link').magnificPopup({type:'image'});
});
$(document).ready(function() {
$('#news_box_img_mode').lc_news_box({
     height: 260,
     min_horiz_w: 10,
     max_news: 24,
     news_per_time: 3,
     read_more_txt: '[read more...]',
     img_behavior: 'expand',
     read_more_btn: true,
     theme: 'dark',
     nav_arrows: 'side',
     social_share: true,
     layout: 'horizontal',
     boxed_news: true,
     carousel: true,
    expandable_news: true,
    horiz_img_mode: true,
    autoplay: true,
    slide_all: true,
    slideshow_time: 5000,
    animation_time: 1200,

     src : [
            {
                 type: 'facebook',
                 id: '394096404020062',
                link_target: '_blank'
             }
            ]
        });
});
$(function () {
  $('#nav').tinyNav({
    active: 'selected',
    indent: '→ ',
    header: '',
    label: ''
  });
});
/*漂浮物 =================================*/

$(function() {
    $('#social_side .contents').floater({animate: true,   animation_duration:1000, vertical_offset: 0, scroll_trigger: 120});
});
/*主页展示javascript =====================================================================*/

$(window).scroll(function(){ // scroll event 
    var windowTop = $(window).scrollTop(), // returns number
        solid_action = $('.solid-visuals').offset().top-500;
    if (windowTop >= solid_action)
    {
        $('.solid-iphone,.solid-imac').addClass('animated fadeInUp');
    }   
});
$(document).ready(function() {  
  $("body").niceScroll({
      touchbehavior:false,
      cursorcolor:"#000",
      cursoropacitymax:1,
      cursorwidth:8,
      background:"#333",
      autohidemode:true
  });
});

$(function(){var       nice=$(":nicescroll").getNiceScroll(0);$("#div1").html($("#div1").html()+' '+nice.version+' ($:'+$().jquery+')')})
$(function(){

    $(window).on("resize", function () {

    var etwrapper_height= $('.show-case-visual img').height();
    $('.et-wrapper').height(etwrapper_height);

    var etwrapper_basic_height= $('.folio-visual').height();
    $('.et-wrapper-basic').height(etwrapper_basic_height+100);

    var showcase_hover= $('.show-case-visual img').width();

     $('.show-case-visual').width(showcase_hover);
    $('.showcase-hover').width(showcase_hover-5);

    var $container = $('.masonry-container');
    $container.masonry({
      itemSelector: '.post-unit'
    });

  }).resize();
$('.flicker').jflickrfeed({
    limit: 9,
    qstrings: {
        id: '124962645@N03'
    },
    itemTemplate: '<li><a href="{{image_b}}"><img alt="{{title}}" src="{{image_s}}" /></a></li>'
});
$('#tweets').tweetable({
    /*add your username below*/
    username: 'dbzdieselparts', 
    time: true,
    rotate: true,
    speed: 4000, 
    limit: 4,
    replies: false,
    position: 'append',
    loading: 'loading...' ,
    failed: "Sorry, our twitter feed cannot be loaded right now. You can find us directly on Twitter @dbzdieselparts",
    html5: true
});
$('.testi-inner').flexslider({
    animation: "slide",
    directionNav: false,
    controlNav: true,
    pauseOnHover: true, 
    slideshow: false,
    direction: "horizontal" //Direction of slides
});
$('.blog-slider').flexslider({
  animation: "slide",
  controlNav: false
});
$('.flexslider').flexslider({
  animation: "slide"
});
$(document).ready(function() {
  $('.image-link').magnificPopup({type:'image'});
});
$(document).ready(function() {
$('#news_box_img_mode').lc_news_box({
     height: 260,
     min_horiz_w: 10,
     max_news: 24,
     news_per_time: 3,
     read_more_txt: '[read more...]',
     img_behavior: 'expand',
     read_more_btn: true,
     theme: 'dark',
     nav_arrows: 'side',
     social_share: true,
     layout: 'horizontal',
     boxed_news: true,
     carousel: true,
    expandable_news: true,
    horiz_img_mode: true,
    autoplay: true,
    slide_all: true,
    slideshow_time: 5000,
    animation_time: 1200,

     src : [
            {
                 type: 'facebook',
                 id: '394096404020062',
                link_target: '_blank'
             }
            ]
        });
});
$(function () {
  $('#nav').tinyNav({
    active: 'selected',
    indent: '→ ',
    header: '',
    label: ''
  });
});
/*闪烁插件 =====================================================================*/

$(window).scroll(function(){ // scroll event 
    var windowTop = $(window).scrollTop(), // returns number
        solid_action = $('.solid-visuals').offset().top-500;
    if (windowTop >= solid_action)
    {
        $('.solid-iphone,.solid-imac').addClass('animated fadeInUp');
    }   
});
$(document).ready(function() {  
  $("body").niceScroll({
      touchbehavior:false,
      cursorcolor:"#000",
      cursoropacitymax:1,
      cursorwidth:8,
      background:"#333",
      autohidemode:true
  });
});

$(function(){var       nice=$(":nicescroll").getNiceScroll(0);$("#div1").html($("#div1").html()+' '+nice.version+' ($:'+$().jquery+')')})
$(function(){

    $(window).on("resize", function () {

    var etwrapper_height= $('.show-case-visual img').height();
    $('.et-wrapper').height(etwrapper_height);

    var etwrapper_basic_height= $('.folio-visual').height();
    $('.et-wrapper-basic').height(etwrapper_basic_height+100);

    var showcase_hover= $('.show-case-visual img').width();

     $('.show-case-visual').width(showcase_hover);
    $('.showcase-hover').width(showcase_hover-5);

    var $container = $('.masonry-container');
    $container.masonry({
      itemSelector: '.post-unit'
    });

  }).resize();
$('.flicker').jflickrfeed({
    limit: 9,
    qstrings: {
        id: '124962645@N03'
    },
    itemTemplate: '<li><a href="{{image_b}}"><img alt="{{title}}" src="{{image_s}}" /></a></li>'
});
$('#tweets').tweetable({
    /*add your username below*/
    username: 'dbzdieselparts', 
    time: true,
    rotate: true,
    speed: 4000, 
    limit: 4,
    replies: false,
    position: 'append',
    loading: 'loading...' ,
    failed: "Sorry, our twitter feed cannot be loaded right now. You can find us directly on Twitter @dbzdieselparts",
    html5: true
});
$('.testi-inner').flexslider({
    animation: "slide",
    directionNav: false,
    controlNav: true,
    pauseOnHover: true, 
    slideshow: false,
    direction: "horizontal" //Direction of slides
});
$('.blog-slider').flexslider({
  animation: "slide",
  controlNav: false
});
$('.flexslider').flexslider({
  animation: "slide"
});
$(document).ready(function() {
  $('.image-link').magnificPopup({type:'image'});
});
$(document).ready(function() {
$('#news_box_img_mode').lc_news_box({
     height: 260,
     min_horiz_w: 10,
     max_news: 24,
     news_per_time: 3,
     read_more_txt: '[read more...]',
     img_behavior: 'expand',
     read_more_btn: true,
     theme: 'dark',
     nav_arrows: 'side',
     social_share: true,
     layout: 'horizontal',
     boxed_news: true,
     carousel: true,
    expandable_news: true,
    horiz_img_mode: true,
    autoplay: true,
    slide_all: true,
    slideshow_time: 5000,
    animation_time: 1200,

     src : [
            {
                 type: 'facebook',
                 id: '394096404020062',
                link_target: '_blank'
             }
            ]
        });
});
$(function () {
  $('#nav').tinyNav({
    active: 'selected',
    indent: '→ ',
    header: '',
    label: ''
  });
});
/*证明滑块 =====================================================================*/

$(window).scroll(function(){ // scroll event 
    var windowTop = $(window).scrollTop(), // returns number
        solid_action = $('.solid-visuals').offset().top-500;
    if (windowTop >= solid_action)
    {
        $('.solid-iphone,.solid-imac').addClass('animated fadeInUp');
    }   
});
$(document).ready(function() {  
  $("body").niceScroll({
      touchbehavior:false,
      cursorcolor:"#000",
      cursoropacitymax:1,
      cursorwidth:8,
      background:"#333",
      autohidemode:true
  });
});

$(function(){var       nice=$(":nicescroll").getNiceScroll(0);$("#div1").html($("#div1").html()+' '+nice.version+' ($:'+$().jquery+')')})
$(function(){

    $(window).on("resize", function () {

    var etwrapper_height= $('.show-case-visual img').height();
    $('.et-wrapper').height(etwrapper_height);

    var etwrapper_basic_height= $('.folio-visual').height();
    $('.et-wrapper-basic').height(etwrapper_basic_height+100);

    var showcase_hover= $('.show-case-visual img').width();

     $('.show-case-visual').width(showcase_hover);
    $('.showcase-hover').width(showcase_hover-5);

    var $container = $('.masonry-container');
    $container.masonry({
      itemSelector: '.post-unit'
    });

  }).resize();
$('.flicker').jflickrfeed({
    limit: 9,
    qstrings: {
        id: '124962645@N03'
    },
    itemTemplate: '<li><a href="{{image_b}}"><img alt="{{title}}" src="{{image_s}}" /></a></li>'
});
$('#tweets').tweetable({
    /*add your username below*/
    username: 'dbzdieselparts', 
    time: true,
    rotate: true,
    speed: 4000, 
    limit: 4,
    replies: false,
    position: 'append',
    loading: 'loading...' ,
    failed: "Sorry, our twitter feed cannot be loaded right now. You can find us directly on Twitter @dbzdieselparts",
    html5: true
});
$('.testi-inner').flexslider({
    animation: "slide",
    directionNav: false,
    controlNav: true,
    pauseOnHover: true, 
    slideshow: false,
    direction: "horizontal" //Direction of slides
});
$('.blog-slider').flexslider({
  animation: "slide",
  controlNav: false
});
$('.flexslider').flexslider({
  animation: "slide"
});
$(document).ready(function() {
  $('.image-link').magnificPopup({type:'image'});
});
$(document).ready(function() {
$('#news_box_img_mode').lc_news_box({
     height: 260,
     min_horiz_w: 10,
     max_news: 24,
     news_per_time: 3,
     read_more_txt: '[read more...]',
     img_behavior: 'expand',
     read_more_btn: true,
     theme: 'dark',
     nav_arrows: 'side',
     social_share: true,
     layout: 'horizontal',
     boxed_news: true,
     carousel: true,
    expandable_news: true,
    horiz_img_mode: true,
    autoplay: true,
    slide_all: true,
    slideshow_time: 5000,
    animation_time: 1200,

     src : [
            {
                 type: 'facebook',
                 id: '394096404020062',
                link_target: '_blank'
             }
            ]
        });
});
$(function () {
  $('#nav').tinyNav({
    active: 'selected',
    indent: '→ ',
    header: '',
    label: ''
  });
});
/*Flex博客滑块 =====================================================================*/

$(window).scroll(function(){ // scroll event 
    var windowTop = $(window).scrollTop(), // returns number
        solid_action = $('.solid-visuals').offset().top-500;
    if (windowTop >= solid_action)
    {
        $('.solid-iphone,.solid-imac').addClass('animated fadeInUp');
    }   
});
$(document).ready(function() {  
  $("body").niceScroll({
      touchbehavior:false,
      cursorcolor:"#000",
      cursoropacitymax:1,
      cursorwidth:8,
      background:"#333",
      autohidemode:true
  });
});

$(function(){var       nice=$(":nicescroll").getNiceScroll(0);$("#div1").html($("#div1").html()+' '+nice.version+' ($:'+$().jquery+')')})
$(function(){

    $(window).on("resize", function () {

    var etwrapper_height= $('.show-case-visual img').height();
    $('.et-wrapper').height(etwrapper_height);

    var etwrapper_basic_height= $('.folio-visual').height();
    $('.et-wrapper-basic').height(etwrapper_basic_height+100);

    var showcase_hover= $('.show-case-visual img').width();

     $('.show-case-visual').width(showcase_hover);
    $('.showcase-hover').width(showcase_hover-5);

    var $container = $('.masonry-container');
    $container.masonry({
      itemSelector: '.post-unit'
    });

  }).resize();
$('.flicker').jflickrfeed({
    limit: 9,
    qstrings: {
        id: '124962645@N03'
    },
    itemTemplate: '<li><a href="{{image_b}}"><img alt="{{title}}" src="{{image_s}}" /></a></li>'
});
$('#tweets').tweetable({
    /*add your username below*/
    username: 'dbzdieselparts', 
    time: true,
    rotate: true,
    speed: 4000, 
    limit: 4,
    replies: false,
    position: 'append',
    loading: 'loading...' ,
    failed: "Sorry, our twitter feed cannot be loaded right now. You can find us directly on Twitter @dbzdieselparts",
    html5: true
});
$('.testi-inner').flexslider({
    animation: "slide",
    directionNav: false,
    controlNav: true,
    pauseOnHover: true, 
    slideshow: false,
    direction: "horizontal" //Direction of slides
});
$('.blog-slider').flexslider({
  animation: "slide",
  controlNav: false
});
$('.flexslider').flexslider({
  animation: "slide"
});
$(document).ready(function() {
  $('.image-link').magnificPopup({type:'image'});
});
$(document).ready(function() {
$('#news_box_img_mode').lc_news_box({
     height: 260,
     min_horiz_w: 10,
     max_news: 24,
     news_per_time: 3,
     read_more_txt: '[read more...]',
     img_behavior: 'expand',
     read_more_btn: true,
     theme: 'dark',
     nav_arrows: 'side',
     social_share: true,
     layout: 'horizontal',
     boxed_news: true,
     carousel: true,
    expandable_news: true,
    horiz_img_mode: true,
    autoplay: true,
    slide_all: true,
    slideshow_time: 5000,
    animation_time: 1200,

     src : [
            {
                 type: 'facebook',
                 id: '394096404020062',
                link_target: '_blank'
             }
            ]
        });
});
$(function () {
  $('#nav').tinyNav({
    active: 'selected',
    indent: '→ ',
    header: '',
    label: ''
  });
});
/*弹性滑块 =====================================================================*/

$(window).scroll(function(){ // scroll event 
    var windowTop = $(window).scrollTop(), // returns number
        solid_action = $('.solid-visuals').offset().top-500;
    if (windowTop >= solid_action)
    {
        $('.solid-iphone,.solid-imac').addClass('animated fadeInUp');
    }   
});
$(document).ready(function() {  
  $("body").niceScroll({
      touchbehavior:false,
      cursorcolor:"#000",
      cursoropacitymax:1,
      cursorwidth:8,
      background:"#333",
      autohidemode:true
  });
});

$(function(){var       nice=$(":nicescroll").getNiceScroll(0);$("#div1").html($("#div1").html()+' '+nice.version+' ($:'+$().jquery+')')})
$(function(){

    $(window).on("resize", function () {

    var etwrapper_height= $('.show-case-visual img').height();
    $('.et-wrapper').height(etwrapper_height);

    var etwrapper_basic_height= $('.folio-visual').height();
    $('.et-wrapper-basic').height(etwrapper_basic_height+100);

    var showcase_hover= $('.show-case-visual img').width();

     $('.show-case-visual').width(showcase_hover);
    $('.showcase-hover').width(showcase_hover-5);

    var $container = $('.masonry-container');
    $container.masonry({
      itemSelector: '.post-unit'
    });

  }).resize();
$('.flicker').jflickrfeed({
    limit: 9,
    qstrings: {
        id: '124962645@N03'
    },
    itemTemplate: '<li><a href="{{image_b}}"><img alt="{{title}}" src="{{image_s}}" /></a></li>'
});
$('#tweets').tweetable({
    /*add your username below*/
    username: 'dbzdieselparts', 
    time: true,
    rotate: true,
    speed: 4000, 
    limit: 4,
    replies: false,
    position: 'append',
    loading: 'loading...' ,
    failed: "Sorry, our twitter feed cannot be loaded right now. You can find us directly on Twitter @dbzdieselparts",
    html5: true
});
$('.testi-inner').flexslider({
    animation: "slide",
    directionNav: false,
    controlNav: true,
    pauseOnHover: true, 
    slideshow: false,
    direction: "horizontal" //Direction of slides
});
$('.blog-slider').flexslider({
  animation: "slide",
  controlNav: false
});
$('.flexslider').flexslider({
  animation: "slide"
});
$(document).ready(function() {
  $('.image-link').magnificPopup({type:'image'});
});
$(document).ready(function() {
$('#news_box_img_mode').lc_news_box({
     height: 260,
     min_horiz_w: 10,
     max_news: 24,
     news_per_time: 3,
     read_more_txt: '[read more...]',
     img_behavior: 'expand',
     read_more_btn: true,
     theme: 'dark',
     nav_arrows: 'side',
     social_share: true,
     layout: 'horizontal',
     boxed_news: true,
     carousel: true,
    expandable_news: true,
    horiz_img_mode: true,
    autoplay: true,
    slide_all: true,
    slideshow_time: 5000,
    animation_time: 1200,

     src : [
            {
                 type: 'facebook',
                 id: '394096404020062',
                link_target: '_blank'
             }
            ]
        });
});
$(function () {
  $('#nav').tinyNav({
    active: 'selected',
    indent: '→ ',
    header: '',
    label: ''
  });
});
/*灯箱 =====================================================================*/

$(window).scroll(function(){ // scroll event 
    var windowTop = $(window).scrollTop(), // returns number
        solid_action = $('.solid-visuals').offset().top-500;
    if (windowTop >= solid_action)
    {
        $('.solid-iphone,.solid-imac').addClass('animated fadeInUp');
    }   
});
$(document).ready(function() {  
  $("body").niceScroll({
      touchbehavior:false,
      cursorcolor:"#000",
      cursoropacitymax:1,
      cursorwidth:8,
      background:"#333",
      autohidemode:true
  });
});

$(function(){var       nice=$(":nicescroll").getNiceScroll(0);$("#div1").html($("#div1").html()+' '+nice.version+' ($:'+$().jquery+')')})
$(function(){

    $(window).on("resize", function () {

    var etwrapper_height= $('.show-case-visual img').height();
    $('.et-wrapper').height(etwrapper_height);

    var etwrapper_basic_height= $('.folio-visual').height();
    $('.et-wrapper-basic').height(etwrapper_basic_height+100);

    var showcase_hover= $('.show-case-visual img').width();

     $('.show-case-visual').width(showcase_hover);
    $('.showcase-hover').width(showcase_hover-5);

    var $container = $('.masonry-container');
    $container.masonry({
      itemSelector: '.post-unit'
    });

  }).resize();
$('.flicker').jflickrfeed({
    limit: 9,
    qstrings: {
        id: '124962645@N03'
    },
    itemTemplate: '<li><a href="{{image_b}}"><img alt="{{title}}" src="{{image_s}}" /></a></li>'
});
$('#tweets').tweetable({
    /*add your username below*/
    username: 'dbzdieselparts', 
    time: true,
    rotate: true,
    speed: 4000, 
    limit: 4,
    replies: false,
    position: 'append',
    loading: 'loading...' ,
    failed: "Sorry, our twitter feed cannot be loaded right now. You can find us directly on Twitter @dbzdieselparts",
    html5: true
});
$('.testi-inner').flexslider({
    animation: "slide",
    directionNav: false,
    controlNav: true,
    pauseOnHover: true, 
    slideshow: false,
    direction: "horizontal" //Direction of slides
});
$('.blog-slider').flexslider({
  animation: "slide",
  controlNav: false
});
$('.flexslider').flexslider({
  animation: "slide"
});
$(document).ready(function() {
  $('.image-link').magnificPopup({type:'image'});
});
$(document).ready(function() {
$('#news_box_img_mode').lc_news_box({
     height: 260,
     min_horiz_w: 10,
     max_news: 24,
     news_per_time: 3,
     read_more_txt: '[read more...]',
     img_behavior: 'expand',
     read_more_btn: true,
     theme: 'dark',
     nav_arrows: 'side',
     social_share: true,
     layout: 'horizontal',
     boxed_news: true,
     carousel: true,
    expandable_news: true,
    horiz_img_mode: true,
    autoplay: true,
    slide_all: true,
    slideshow_time: 5000,
    animation_time: 1200,

     src : [
            {
                 type: 'facebook',
                 id: '394096404020062',
                link_target: '_blank'
             }
            ]
        });
});
$(function () {
  $('#nav').tinyNav({
    active: 'selected',
    indent: '→ ',
    header: '',
    label: ''
  });
});
/*Facebook订阅源 =====================================================================*/

$(window).scroll(function(){ // scroll event 
    var windowTop = $(window).scrollTop(), // returns number
        solid_action = $('.solid-visuals').offset().top-500;
    if (windowTop >= solid_action)
    {
        $('.solid-iphone,.solid-imac').addClass('animated fadeInUp');
    }   
});
$(document).ready(function() {  
  $("body").niceScroll({
      touchbehavior:false,
      cursorcolor:"#000",
      cursoropacitymax:1,
      cursorwidth:8,
      background:"#333",
      autohidemode:true
  });
});

$(function(){var       nice=$(":nicescroll").getNiceScroll(0);$("#div1").html($("#div1").html()+' '+nice.version+' ($:'+$().jquery+')')})
$(function(){

    $(window).on("resize", function () {

    var etwrapper_height= $('.show-case-visual img').height();
    $('.et-wrapper').height(etwrapper_height);

    var etwrapper_basic_height= $('.folio-visual').height();
    $('.et-wrapper-basic').height(etwrapper_basic_height+100);

    var showcase_hover= $('.show-case-visual img').width();

     $('.show-case-visual').width(showcase_hover);
    $('.showcase-hover').width(showcase_hover-5);

    var $container = $('.masonry-container');
    $container.masonry({
      itemSelector: '.post-unit'
    });

  }).resize();
$('.flicker').jflickrfeed({
    limit: 9,
    qstrings: {
        id: '124962645@N03'
    },
    itemTemplate: '<li><a href="{{image_b}}"><img alt="{{title}}" src="{{image_s}}" /></a></li>'
});
$('#tweets').tweetable({
    /*add your username below*/
    username: 'dbzdieselparts', 
    time: true,
    rotate: true,
    speed: 4000, 
    limit: 4,
    replies: false,
    position: 'append',
    loading: 'loading...' ,
    failed: "Sorry, our twitter feed cannot be loaded right now. You can find us directly on Twitter @dbzdieselparts",
    html5: true
});
$('.testi-inner').flexslider({
    animation: "slide",
    directionNav: false,
    controlNav: true,
    pauseOnHover: true, 
    slideshow: false,
    direction: "horizontal" //Direction of slides
});
$('.blog-slider').flexslider({
  animation: "slide",
  controlNav: false
});
$('.flexslider').flexslider({
  animation: "slide"
});
$(document).ready(function() {
  $('.image-link').magnificPopup({type:'image'});
});
$(document).ready(function() {
$('#news_box_img_mode').lc_news_box({
     height: 260,
     min_horiz_w: 10,
     max_news: 24,
     news_per_time: 3,
     read_more_txt: '[read more...]',
     img_behavior: 'expand',
     read_more_btn: true,
     theme: 'dark',
     nav_arrows: 'side',
     social_share: true,
     layout: 'horizontal',
     boxed_news: true,
     carousel: true,
    expandable_news: true,
    horiz_img_mode: true,
    autoplay: true,
    slide_all: true,
    slideshow_time: 5000,
    animation_time: 1200,

     src : [
            {
                 type: 'facebook',
                 id: '394096404020062',
                link_target: '_blank'
             }
            ]
        });
});
$(function () {
  $('#nav').tinyNav({
    active: 'selected',
    indent: '→ ',
    header: '',
    label: ''
  });
});
/*蒂尼纳夫 =====================================================================*/

$(window).scroll(function(){ // scroll event 
    var windowTop = $(window).scrollTop(), // returns number
        solid_action = $('.solid-visuals').offset().top-500;
    if (windowTop >= solid_action)
    {
        $('.solid-iphone,.solid-imac').addClass('animated fadeInUp');
    }   
});
$(document).ready(function() {  
  $("body").niceScroll({
      touchbehavior:false,
      cursorcolor:"#000",
      cursoropacitymax:1,
      cursorwidth:8,
      background:"#333",
      autohidemode:true
  });
});

$(function(){var       nice=$(":nicescroll").getNiceScroll(0);$("#div1").html($("#div1").html()+' '+nice.version+' ($:'+$().jquery+')')})
$(function(){

    $(window).on("resize", function () {

    var etwrapper_height= $('.show-case-visual img').height();
    $('.et-wrapper').height(etwrapper_height);

    var etwrapper_basic_height= $('.folio-visual').height();
    $('.et-wrapper-basic').height(etwrapper_basic_height+100);

    var showcase_hover= $('.show-case-visual img').width();

     $('.show-case-visual').width(showcase_hover);
    $('.showcase-hover').width(showcase_hover-5);

    var $container = $('.masonry-container');
    $container.masonry({
      itemSelector: '.post-unit'
    });

  }).resize();
$('.flicker').jflickrfeed({
    limit: 9,
    qstrings: {
        id: '124962645@N03'
    },
    itemTemplate: '<li><a href="{{image_b}}"><img alt="{{title}}" src="{{image_s}}" /></a></li>'
});
$('#tweets').tweetable({
    /*add your username below*/
    username: 'dbzdieselparts', 
    time: true,
    rotate: true,
    speed: 4000, 
    limit: 4,
    replies: false,
    position: 'append',
    loading: 'loading...' ,
    failed: "Sorry, our twitter feed cannot be loaded right now. You can find us directly on Twitter @dbzdieselparts",
    html5: true
});
$('.testi-inner').flexslider({
    animation: "slide",
    directionNav: false,
    controlNav: true,
    pauseOnHover: true, 
    slideshow: false,
    direction: "horizontal" //Direction of slides
});
$('.blog-slider').flexslider({
  animation: "slide",
  controlNav: false
});
$('.flexslider').flexslider({
  animation: "slide"
});
$(document).ready(function() {
  $('.image-link').magnificPopup({type:'image'});
});
$(document).ready(function() {
$('#news_box_img_mode').lc_news_box({
     height: 260,
     min_horiz_w: 10,
     max_news: 24,
     news_per_time: 3,
     read_more_txt: '[read more...]',
     img_behavior: 'expand',
     read_more_btn: true,
     theme: 'dark',
     nav_arrows: 'side',
     social_share: true,
     layout: 'horizontal',
     boxed_news: true,
     carousel: true,
    expandable_news: true,
    horiz_img_mode: true,
    autoplay: true,
    slide_all: true,
    slideshow_time: 5000,
    animation_time: 1200,

     src : [
            {
                 type: 'facebook',
                 id: '394096404020062',
                link_target: '_blank'
             }
            ]
        });
});
$(function () {
  $('#nav').tinyNav({
    active: 'selected',
    indent: '→ ',
    header: '',
    label: ''
  });
});
/*页脚图标 =======================================================*/

$('.head-icon').hover(function(){
    $(this).addClass('animated tada');
},function(){
    $(this).removeClass('animated tada');
});
});  
})
();

页面上有一个JS错误,可能先修复它?我想它挡住了放大镜

Uncaught TypeError: $(...).floater is not a function
此函数导致错误:

/* Floater =================================*/

$(function() {
    $('#social_side .contents').floater({animate: true,   animation_duration:1000, vertical_offset: 0, scroll_trigger: 120});
});

可能您还没有包括浮动插件?

实际问题是什么?您能在控制台中看到任何错误吗?现在还不太清楚你在问什么问题。如果你转到我有错误的页面,点击放大镜图标,你会看到图像是在同一个窗口打开的,而不是灯箱。这就是问题所在。。我不知道从哪里开始寻找这个问题。lightbox在任何页面上都不会突然工作。我有一个朋友在画廊/产品页面上做了一些更新,但从那时起,它就不起作用了。谢谢你的快速回复!还有一个问题,杰克。。。。既然你是这里的男人。。。您如何以及在何处查看未捕获的错误软件、脚本?@jpgreff您可以在Chrome:或Firefox中使用开发人员工具: