Football Manager 2022 Walkthrough and Guide

GUIDE IN PROGRESS

', title: filename+' (' + size[0] + 'x' + size[1] + 'pixels, file size:' + full_size + ', MIME: ' + mime_type + ')' }; } else { // images var full_image_url = linkEl.getAttribute('data-full_image'); var url = linkEl.getAttribute('href'); item = { src: full_image_url, w: parseInt(size[0], 10), h: parseInt(size[1], 10), title: '' + filename + ' (' + size[0] + 'x' + size[1] + 'pixels, file size:' + full_size + ', MIME: ' + mime_type + ')', url: url }; } if (linkEl.children.length > 0) { // thumbnail element, retrieving thumbnail url item.msrc = linkEl.children[0].getAttribute('src'); } item.el = figureEl; // save link to element for getThumbBoundFn if (item_names.length == 0 || $.inArray(item.src, item_names)) { items.push(item); item_names.push(item.src); } } return items; }; var closest = function closest(el, fn) { return el && ( fn(el) ? el : closest(el.parentNode, fn) ); }; var onThumbnailsClick = function(e) { e = e || window.event; if (!$(e.target).parents('.photoswipe').length && !$(e.target).is('.photoswipe')) { // continue if target is a .photoswipe element return true; } e.preventDefault ? e.preventDefault() : e.returnValue = false; var eTarget = e.target || e.srcElement; var clickedListItem = $(eTarget).closest('.photoswipe')[0]; if (!clickedListItem) { return; } var clickedGallery = $(clickedListItem).closest('article')[0], childNodes = clickedGallery.getElementsByClassName('photoswipe'), numChildNodes = childNodes.length, nodeIndex = 0, index; for (var i = 0; i = 0) { // open PhotoSwipe if valid index found openPhotoSwipe(index, clickedGallery); } return false; }; // parse picture index and gallery index from URL (#&pid=1&gid=2) var photoswipeParseHash = function() { var hash = window.location.hash.substring(1), params = { }; if (hash.length getThumbBoundsFn section of documentation for more info var thumbnail = items[index].el, // find thumbnail pageYScroll = window.pageYOffset || document.documentElement.scrollTop, rect = thumbnail.getBoundingClientRect(); return { x:rect.left, y:rect.top + pageYScroll, w:rect.width }; } }; // PhotoSwipe opened from URL if(fromURL) { if(options.galleryPIDs) { // parse real index when custom PIDs are used // http://photoswipe.com/documentation/faq.html#custom-pid-in-url for(var j = 0; j