1/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */ 2 3jQuery(function($) { 4 5 var config = $('html').data('config') || {}; 6 7 // Social buttons 8 $('article[data-permalink]').socialButtons(config); 9 10 11$(document).ready(function() { 12 13var id = '#dialog'; 14 15//Get the screen height and width 16var maskHeight = $(document).height(); 17var maskWidth = $(window).width(); 18 19//Set heigth and width to mask to fill up the whole screen 20$('#mask').css({'width':maskWidth,'height':maskHeight}); 21 22//transition effect 23$('#mask').fadeIn(500); 24$('#mask').fadeTo("slow",0.9); 25 26//Get the window height and width 27var winH = $(window).height(); 28var winW = $(window).width(); 29 30//Set the popup window to center 31$(id).css('top', winH/2-$(id).height()/2); 32$(id).css('left', winW/2-$(id).width()/2); 33 34//transition effect 35$(id).fadeIn(2000); 36 37//if close button is clicked 38$('.window .close').click(function (e) { 39//Cancel the link behavior 40e.preventDefault(); 41 42$('#mask').hide(); 43$('.window').hide(); 44}); 45 46//if mask is clicked 47$('#mask').click(function () { 48$(this).hide(); 49$('.window').hide(); 50}); 51 52}); 53 54 55});
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.