1/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */ 2 3(function($){ 4 5 $(document).ready(function() { 6 7 var config = $('body').data('config') || {}; 8 9 // Accordion menu 10 $('.menu-sidebar').accordionMenu({ mode:'slide' }); 11 12 // Dropdown menu 13 $('#menu').dropdownMenu({ mode: 'slide', duration: 300, dropdownSelector: 'div.dropdown'}); 14 15 // Smoothscroller 16 $('a[href="#page"]').smoothScroller({ duration: 500 }); 17 18 // Fix Browser Rounding 19 $('.grid-block').matchWidth('.grid-h'); 20 21 // Social buttons 22 $('article[data-permalink]').socialButtons(config); 23 24 // Match height of div tags 25 var matchHeight = function(){ 26 $('#top-a .grid-h').matchHeight('.deepest'); 27 $('#top-b .grid-h').matchHeight('.deepest'); 28 $('#bottom-a .grid-h').matchHeight('.deepest'); 29 $('#bottom-b .grid-h').matchHeight('.deepest'); 30 $('#innertop .grid-h').matchHeight('.deepest'); 31 $('#innerbottom .grid-h').matchHeight('.deepest'); 32 $('#maininner, #sidebar-a, #sidebar-b').matchHeight(); 33 $('.page-body-1').css("min-height", $(window).height()); 34 }; 35 36 matchHeight(); 37 38 // Socialbar for touch devices 39 $(window).bind("load", matchHeight); 40 41 if ("ontouchend" in document) { 42 var socialbar = $("#socialbar").bind("click", function(){ 43 if (socialbar.hasClass("touched")) { 44 socialbar.removeClass("touched").addClass("untouched"); 45 } else { 46 socialbar.removeClass("untouched").addClass("touched"); 47 } 48 }); 49 } 50 51 }); 52 53})(jQuery);
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.