l a tt i c e m a n c e r

The creator

Lattice Mancer is a relatively boring person, solving imaginary puzzles through the practice of image making. One day they hope to produce a project they can crawl inside and peacefully, never leave.

upcoming events

Attending . . .

Lightbox Expo 2025

past events

Attendee

Lightbox Expo 2024

Attendee

Grand Rapids Comic-con 2023

Attendee

Dokidokon 2023

Attendee

Grand Rapids Comic-con 2021

Attendee

Lightbox Expo 2019

Donate

Entered by customer

Donate
function showCheckoutWindow(e) { e.preventDefault(); const url = document.getElementById('embedded-checkout-modal-checkout-button').getAttribute('data-url'); const title = 'Square Payment Links'; // Some platforms embed in an iframe, so we want to top window to calculate sizes correctly const topWindow = window.top ? window.top : window; // Fixes dual-screen position Most browsers Firefox const dualScreenLeft = topWindow.screenLeft !== undefined ? topWindow.screenLeft : topWindow.screenX; const dualScreenTop = topWindow.screenTop !== undefined ? topWindow.screenTop : topWindow.screenY; const width = topWindow.innerWidth ? topWindow.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width; const height = topWindow.innerHeight ? topWindow.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height; const h = height * .75; const w = 500; const systemZoom = width / topWindow.screen.availWidth; const left = (width - w) / 2 / systemZoom + dualScreenLeft; const top = (height - h) / 2 / systemZoom + dualScreenTop; const newWindow = window.open(url, title, `scrollbars=yes, width=${w / systemZoom}, height=${h / systemZoom}, top=${top}, left=${left}`); if (window.focus) newWindow.focus(); } // This overrides the default checkout button click handler to show the embed modal // instead of opening a new tab with the given link url document.getElementById('embedded-checkout-modal-checkout-button').addEventListener('click', function (e) { showCheckoutWindow(e); });

notifications

Receive periodic updates

latticemancer.com