1 jQuery( window ).load(function() { 2 jQuery('#loader-wrapper').hide(); 3 4 jQuery("#toTop").click(function () { 5 jQuery("html, body").animate({scrollTop: 0}, 1000); 6 }); 7 8 var getPageHeight = jQuery("#page-height").val(); 9 var pageColor = jQuery("#page-color").val(); 10 setDepartmentNaviHeightOnResize(getPageHeight, pageColor); 11 }); 12 13 14 jQuery(function () { 15 jQuery(".content-one").hover( 16 function () { 17 jQuery('.'+jQuery(this).data('ids')).removeClass('hide') 18 }, 19 function () { 20 jQuery('.'+jQuery(this).data('ids')).addClass('hide') 21 } 22 ); 23 }); 24 25 jQuery(document).ready(function(){ 26 27 28 29 /*jQuery('#category').on('change', function (e) { 30 var optionSelected = jQuery("option:selected", this); 31 var valueSelected = this.data('category'); 32 //alert(valueSelected); 33 jQuery('.post_all').hide(); 34 jQuery('.'+valueSelected).show(); 35 });*/ 36 jQuery('.content-area-right-side a').text('Læs mere'); 37 38 jQuery('#header').affix({ 39 offset: { 40 top: 100 41 } 42 }); 43 44 jQuery('#menu-headermenu').find('li').find("ul").parent("li").addClass('dropdown'); 45 jQuery(document).find('#menu-headermenu').find('li.dropdown').find('a:first').addClass('dropdown-toggle'); 46 jQuery(document).find('#menu-headermenu').find('li.dropdown').find('ul').addClass('dropdown-menu'); 47 48 49 if(jQuery(window).width() > 767){ 50 51 jQuery(".dropdown").hover( 52 function () { 53 jQuery(this).addClass('open') 54 }, 55 function () { 56 jQuery(this).removeClass('open') 57 } 58 ); 59 60 }else{ 61 jQuery(document).on("click", ".arrow-menu-icon", function(event){ 62 jQuery(this).parent('a').next(".sub-menu").toggleClass("open"); 63 return false; 64 }); 65 } 66 67 68 jQuery(window).scroll(function() { 69 if (jQuery(this).scrollTop()) { 70 jQuery('#toTop').fadeIn(); 71 } else { 72 jQuery('#toTop').fadeOut(); 73 } 74 }); 75 76 77 }); 78 79 80 81 function setDepartmentNaviHeightOnResize(getPageHeight = "", pageColor = ""){ 82 83 videoHeight = jQuery(".department-navi").height(); 84 var total = getPageHeight - videoHeight; 85 jQuery('#blank_div').html('<div class="'+ pageColor +'" style="height: '+ total +'px;"></div>'); 86 87 } 88 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.