1$(document).ready(function () { 2 $(document).on('click', '.steco_social_login', function (e) { 3 e.preventDefault(); 4 stecoPopupCenter($(this).attr('href'), '', 600, 500); 5 return false; 6 }); 7}); 8var stecoPopupCenter = function (url, title, w, h) { 9 var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : window.screenX; 10 var dualScreenTop = window.screenTop != undefined ? window.screenTop : window.screenY; 11 12 var width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width; 13 var height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height; 14 15 var left = ((width / 2) - (w / 2)) + dualScreenLeft; 16 var top = ((height / 2) - (h / 2)) + dualScreenTop; 17 var newWindow = window.open(url, title, 'scrollbars=yes, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left); 18 19 if (window.focus) { 20 newWindow.focus(); 21 } 22};
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.