• Resolved sharafatali

    (@sharafatali)


    Hi thank you for such a great plugin!
    I have currently installed this plugin after installation I have got the following
    error. I couldn’t locate the error kindly help.

    Uncaught ReferenceError: ntb_scr_js is not defined

    The code is:

    !function(a)
    {
    function b(b,c,d){b.bind("marquee",
    function(b,e){var f=a(this),g=parseInt(f.parent().width()),h=parseInt(f.width()),i=parseInt(f.position().left),
    j=c;switch(d){case"right":"undefined"==typeof e?(f.css({left:g}),g=-h):g=i-(h+g);break;
    default:"undefined"==typeof e?f.css({left:-h}):g+=i+h}f.animate({left:g},{duration:j,easing:"linear",
    complete:function(){f.trigger("marquee")},
    step:function(){"right"==d?parseInt(f.position().left)<-parseInt(f.width())&&(f.stop(),
    f.trigger("marquee")):parseInt(f.position().left)>parseInt(f.parent().width())&&(f.stop(),
    f.trigger("marquee"))}})}).trigger("marquee");
    var e=ntb_scr_js.mouse;1==e&&(b.mouseover(function(){a(this).stop()}),
    b.mouseout(function(){a(this).trigger("marquee",["resume"])}))
    }
    var c=a("#scroll-ntb-elem"),d=4e3*ntb_scr_js.speed_scr,e=ntb_scr_js.ori_scr;b(c,d,e)
    }(jQuery);

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Jquey Error (Uncaught ReferenceError: ntb_scr_js is not defined)’ is closed to new replies.