Login Register

Login Here

login

Register

Register

Creating a scary Halloween popup

The plugin is available on the wordpress repository HERE.This tutorial discusses the process of creating a plugin that consists of nothing more than a shortcode that calls a javascript file. The javascript ceates a modal pop up that has a repeated x, y gif of static as a background and then calls another gif, which displays a brief scary scene. There is an audio file that plays and upon the completion of the audio, via event listeners, the entire effect is removed.

Because many mobile devices require user input in order to play sound, there is a parameter in the shortcode that allows a user to set a timeout length to end the video on mobile devices.

I'm a wordpress developer. I am admin of this site and hope everyone finds something of use for their own projects or learning.


0 comments on “Creating a scary Halloween popup

Join Discussion