Skip to main content
100%

$.fn.firework

✓ Published0🌍 Public
Aabernier
Last edited Oct 7, 2013
Created on Feb 10, 2012

A jQuery plugin demo shows a fireworks animation inside a bordered div, triggered by a button or on page load. It renders star-shaped characters from a configurable array (including emoji and HTML snippets) as absolutely positioned spans that animate outward with randomized distance, font size, and opacity changes using jQuery’s `animate()` method with easing functions from jQuery UI. Options like `amount`, `boundary`, `duration`, and `content` are editable live via `contenteditable` text parsed with `eval`, and the plugin’s defaults and custom settings are merged via `$.extend`.

AI-generated description

Similar vizzes