Middleman has abandoned its asset pipeline in favor of a more flexible and customized approach. Let's use this new approach to get ES6 modules into our Middleman project.
No need to mess with Apache or Nginx to run a web server on your local machine. Just use this node command.
When you don't want to perform an action until the browser has downloaded all appropriate images.
It's far too easy to let your JS code pollute the global namespace. Here are two methods for keeping your code local.
A simple way to give the appearance of a full-screen looping slideshow with crossfading animation.
When you have access to the code inside an iFrame, you can manipulate its DOM that can lead to style changes.
When you can communicate with the code inside an iFrame, you can make any change you want to the code within that iFrame.
Turbolinks is a great idea in theory, but it comes with enough problems to offset its benefits.
This builds on a previous example and brings some movement to our dots!
The wide world of canvas is open-ended. Here's a fun example to dig in and learn some of the basics of HTML5 canvas.
The standard ready function doesn't always work in WordPress plugins. Here's a workaround.