Get new jQuery plugins just once a week

×

Oh Snap

September 27, 2013

Oh Snap | A simple notification plugin

Oh Snap ! is a simple notification jQuery/Zepto library plugin that is designed to be used in mobile apps for showing alerts.Furthermore, OhSnap!.js creates a div with classes .alert .alert-color so you will want to have something like

Alerts are automatically bound to a click event (internally, ohSnapX() is called when the alert is clicked).
Example Code

ohSnap('Oh Snap! I cannot process your card...', 'red');
ohSnap('Yeeaahh! You are now registered.', 'green');

Created by Justin Domingue

Download

Example

Oh Snap jquery plugin

alert on mobiles

Oh Snap

Related posts:

Hammer.js
Responsive Tabs
bellows
Oh Snap jquery plugin

http://jquer.in/wp-content/uploads/2013/09/Oh-Snap.jpg

jQuery plugin

Sign up for our weekly newsletter.

* We won't spam you ever