Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Kill it with fire jQuery plugin
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css Optional css file
images
js
README.md
index.html
screenshot.jpg

README.md

Kill it with fire!

Not metaphorically speaking.

Kaboom

See it live: Demo.

Only works on elements with white backgrounds. Change images/circle_eat.png to a different color for otherwise.

Usage:

Takes optional config object

var $thing = $('.thing').killWithFire({
    callback: function() {
        console.log('done!');
    },
    image_path: '/images_dir/' // defaults to images/ . Must have trailing slash!
})

CSS:

You do NOT need to include the CSS file. Just make sure the element you're killing has position:relative or absolute

Originally made for The Hippopotamatron 5000.

Never license your code.

Something went wrong with that request. Please try again.