1(function ($, window, document, undefined){ 2 'use strict'; 3 var isSmallWindowstrikt; 4 var windowwidth = $(window).width();; 5 if(windowwidth>710){ 6// $("#buttonoptions").hide(5); 7 } 8 9 $(function (){ 10 $("#buttonoptions").click(function(){ 11 $("#filteroptions").slideToggle(500); 12 }); 13 }); 14 $(function (){ 15 $("#mobileMenu").hide(); 16 $(".toggleMobile").click(function(){ 17 $(this).toggleClass("active"); 18 $("#mobileMenu").slideToggle(500); 19 }); 20 }); 21 $(function (){ 22 $(".filterbotton").click(function(){ 23// $("#movieoptions").slideToggle(500); 24 }); 25 }); 26 $(window).on("resize", function(){ 27 if($(this).width() < 710){ 28// $("#filteroptions").hide(500); 29// $("#buttonoptions").show(500); 30 } 31 if($(this).width() > 710){ 32// $("#filteroptions").show(500); 33// $("#buttonoptions").hide(500); 34 } 35 if($(this).width() > 600){ 36 $("#mobileMenu").hide(); 37 $(".toggleMobile").removeClass("active"); 38 } 39 if($(this).width() > 710){ 40// $("nav").show(); 41 } 42 if($(this).width() < 710){ 43 } 44 if($(this).width() < 765){ 45// $("#movieoptions").hide(500); 46 } 47 if($(this).width() > 766){ 48// $("#movieoptions").show(500); 49 } 50 }); 51})(jQuery, window, document); 52 53/* textFilter - a simple module for a text input filter. 54 * Author -- Daniel Bruckner 2011 55 * 56 * To use: 57 * 1. Include this file on your page, probably at the bottom. 58 * 2. Add the class "textFilter-input" to any text input tag you would like to 59 * act as a filter. 60 * 3. Add the class "textFilter-target" to any DOM element to be hidden if it 61 * does not match the filter text. 62 * 4. Add the class "textFilter-match" to the DOM element (contained by a 63 * textFilter-target) that contains the match text for its ancestor. 64 * 65 */ 66(function () { 67/* Initialize filter inputs */ 68var defaultText = $('.textFilter-input').val(); 69 $('.textFilter-input').focus(function (e) { 70 if ($(this).val() === defaultText) 71 $(this).val(''); 72 }) 73 .blur(function (e) { 74 if ($(this).val() === '') 75 $(this).val(defaultText); 76 }) 77 .keyup(function (e) { 78 var patterns = $(this).val().toLowerCase().split(' '); 79 if (!patterns.length) 80 return; 81 $('.textFilter-target').hide().filter(function () { 82 var matchText = $(this).find('.textFilter-match').text().toLowerCase(); 83 for (var i=0; i<patterns.length; i++) 84 if (matchText.indexOf(patterns[i]) === -1) 85 return false; 86 return true; 87 }) 88 .show(); 89 }); 90})();
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.