1$(document).ready(function(){ 2 $('#SearchQuery').focus(); 3}); 4$(function() { 5 var jssor_options = { 6 $AutoPlay: true, //[Optional] Whether to auto play, to enable slideshow, this option must be set to true, default value is false 7 $AutoPlaySteps: 1, //[Optional] Steps to go for each navigation request (this options applys only when slideshow disabled), the default value is 1 8 $AutoPlayInterval: 4000, //[Optional] Interval (in milliseconds) to go for next slide since the previous stopped if the slider is auto playing, default value is 3000 9 $PauseOnHover: 0, //[Optional] Whether to pause when mouse over if a slider is auto playing, 0 no pause, 1 pause for desktop, 2 pause for touch device, 3 pause for desktop and touch device, default value is 3 10 11 $ArrowKeyNavigation: true, //[Optional] Allows keyboard (arrow key) navigation or not, default value is false 12 $SlideDuration: 500, //[Optional] Specifies default duration (swipe) for slide in milliseconds, default value is 500 13 $MinDragOffsetToSlide: 20, //[Optional] Minimum drag offset to trigger slide , default value is 20 14// $SlideWidth: 700, //[Optional] Width of every slide in pixels, default value is width of 'slides' container 15// $SlideHeight: 365, //[Optional] Height of every slide in pixels, default value is height of 'slides' container 16 $SlideSpacing: 0, //[Optional] Space between each slide in pixels, default value is 0 17 $DisplayPieces: 1, //[Optional] Number of pieces to display (the slideshow would be disabled if the value is set to greater than 1), the default value is 1 18 $ParkingPosition: 0, //[Optional] The offset position to park slide (this options applys only when slideshow disabled), default value is 0. 19 $UISearchMode: 1, //[Optional] The way (0 parellel, 1 recursive, default value is 1) to search UI components (slides container, loading screen, navigator container, direction navigator container, thumbnail navigator container etc). 20 $PlayOrientation: 1, //[Optional] Orientation to play slide (for auto play, navigation), 1 horizental, 2 vertical, default value is 1 21 $DragOrientation: 1, //[Optional] Orientation to drag slide, 0 no drag, 1 horizental, 2 vertical, 3 either, default value is 1 (Note that the $DragOrientation should be the same as $PlayOrientation when $DisplayPieces is greater than 1, or parking position is not 0) 22 23 $BulletNavigatorOptions: { //[Optional] Options to specify and enable navigator or not 24 $Class: $JssorBulletNavigator$, //[Required] Class to create navigator instance 25 $ChanceToShow: 2, //[Required] 0 Never, 1 Mouse Over, 2 Always 26 $AutoCenter: 0, //[Optional] Auto center navigator in parent container, 0 None, 1 Horizontal, 2 Vertical, 3 Both, default value is 0 27 $Steps: 1, //[Optional] Steps to go for each navigation request, default value is 1 28 $Lanes: 1, //[Optional] Specify lanes to arrange items, default value is 1 29 $SpacingX: 10, //[Optional] Horizontal space between each item in pixel, default value is 0 30 $SpacingY: 10, //[Optional] Vertical space between each item in pixel, default value is 0 31 $Orientation: 1 //[Optional] The orientation of the navigator, 1 horizontal, 2 vertical, default value is 1 32 }, 33 34 $ArrowNavigatorOptions: { 35 $Class: $JssorArrowNavigator$, //[Requried] Class to create direction navigator instance 36 $ChanceToShow: 2 //[Required] 0 Never, 1 Mouse Over, 2 Always 37 } 38 }; 39 40 var jssor_slider2 = new $JssorSlider$("slider", jssor_options); 41 42 //responsive code begin 43 //you can remove responsive code if you don't want the slider scales 44 //while window resizes 45 function ScaleSlider() { 46 var parentWidth = $('#slider').parent().width(); 47 if (parentWidth) { 48 jssor_slider2.$ScaleWidth(parentWidth);
49 } 50 else 51 window.setTimeout(ScaleSlider, 30); 52 } 53 //Scale slider after document ready 54 ScaleSlider(); 55 56 //Scale slider while window load/resize/orientationchange. 57 $(window).bind("load", ScaleSlider); 58 $(window).bind("resize", ScaleSlider); 59 $(window).bind("orientationchange", ScaleSlider); 60 //responsive code end 61 62 var jssor_options2 = { 63 $AutoPlay: true, //[Optional] Whether to auto play, to enable slideshow, this option must be set to true, default value is false 64 $AutoPlaySteps: 1, //[Optional] Steps to go for each navigation request (this options applys only when slideshow disabled), the default value is 1 65 $AutoPlayInterval: 10000, //[Optional] Interval (in milliseconds) to go for next slide since the previous stopped if the slider is auto playing, default value is 3000 66 $PauseOnHover: 0, //[Optional] Whether to pause when mouse over if a slider is auto playing, 0 no pause, 1 pause for desktop, 2 pause for touch device, 3 pause for desktop and touch device, default value is 3 67 68 $ArrowKeyNavigation: true, //[Optional] Allows keyboard (arrow key) navigation or not, default value is false 69 $SlideDuration: 300, //[Optional] Specifies default duration (swipe) for slide in milliseconds, default value is 500 70 $MinDragOffsetToSlide: 20, //[Optional] Minimum drag offset to trigger slide , default value is 20 71 //$SlideWidth: 480, //[Optional] Width of every slide in pixels, default value is width of 'slides' container 72 //$SlideHeight: 150, //[Optional] Height of every slide in pixels, default value is height of 'slides' container 73 $SlideSpacing: 5, //[Optional] Space between each slide in pixels, default value is 0 74 $DisplayPieces: 1, //[Optional] Number of pieces to display (the slideshow would be disabled if the value is set to greater than 1), the default value is 1 75 $ParkingPosition: 0, //[Optional] The offset position to park slide (this options applys only when slideshow disabled), default value is 0. 76 $UISearchMode: 1, //[Optional] The way (0 parellel, 1 recursive, default value is 1) to search UI components (slides container, loading screen, navigator container, direction navigator container, thumbnail navigator container etc). 77 $PlayOrientation: 1, //[Optional] Orientation to play slide (for auto play, navigation), 1 horizental, 2 vertical, default value is 1 78 $DragOrientation: 1, //[Optional] Orientation to drag slide, 0 no drag, 1 horizental, 2 vertical, 3 either, default value is 1 (Note that the $DragOrientation should be the same as $PlayOrientation when $DisplayPieces is greater than 1, or parking position is not 0) 79 80 $ArrowNavigatorOptions: { 81 $Class: $JssorArrowNavigator$, //[Requried] Class to create direction navigator instance 82 $ChanceToShow: 2, //[Required] 0 Never, 1 Mouse Over, 2 Always 83 $AutoCenter: 2, //[Optional] Auto center navigator in parent container, 0 None, 1 Horizontal, 2 Vertical, 3 Both, default value is 0 84 $Steps: 1 //[Optional] Steps to go for each navigation request, default value is 1 85 } 86 }; 87 88 var jssor_slider_testimonial = new $JssorSlider$("testimonial_slider", jssor_options2); 89});
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.