In this blog post I will show you how to sync data between a set of specified worksheets in a Google Sheet to prevent common payroll errors. This code is…
With this snippet you can click outside an element specified by a selector to perform some action. A common usage would be to close a popup when clicking outside of…
With this snippet you can easily preload your images, css, js. The script initiates after the page loaded so it doesn’t affect loading time. window.onload = function() { setTimeout(function() {…
This function let’s you wait until a certain javascript event has finished before firing the code inside the function. For example, if you had some function that runs on resizing…
This function converts all image tags with an SVG image in it’s source into an inline SVG. This is useful for having clean HTML, but still gaining benefits of inline…
In this blog post I will show how to save isotope filters across page reloads. This means that when you refresh the page, the previously selected isotope filters will apply….
In the post I show an interesting method for deferring loading of images using PHP and jQuery within a WordPress environment. However, this method can be applied to any environment…
In this post, I show how to implement masonry, isotope, infinite scroll, and imagesloaded in WordPress. I go more into detail about isotope because it’s a more robust library than…
This snippet shows how to use the scrolling of one container (which isn’t the window or document) to perform some sort of action. This is useful for web apps that…