1// this is configuration part for user 2if (typeof unslider_config === 'undefined') { 3 var unslider_config = {}; 4} 5var options = {}; 6options.speed = unslider_config.speed || 500; // The speed to animate each slide (in milliseconds) 7options.delay = unslider_config.delay || 3000; // The delay between slide animations (in milliseconds) 8options.complete = unslider_config.complete || function() {}; // A function that gets called after every slide animation 9options.keys = unslider_config.keys || true; // Enable keyboard (left, right) arrow shortcuts 10options.dots = unslider_config.dots || true; // Display dot navigation 11options.fluid = unslider_config.fluid || true; // Support responsive design. May break non-responsive designs 12 13if(!window.jQuery) { 14 document.write('<script src="/plugins/jquery/jquery.min.js"></script>'); 15} 16document.write('<link href="/plugins/unslider/unslider.min.css" rel="stylesheet" type="text/css">'); 17document.write('<script src="/plugins/unslider/unslider.min.js"></script>'); 18 19var handler = function(){ 20 $(".slider").css("visibility","visible").unslider(options); 21}; 22 23if (window.addEventListener) { 24 window.addEventListener('load', handler, false); 25} 26else if (window.attachEvent) { 27 window.attachEvent('onload', handler); 28}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.