SmallPop

A lightweight small pop up widget with no dependencies,
create notifications easily with this javascript plugin.

Download 0.1.2View code

Basic

Tip: to remove all SmallPop's click the title.

Include spop.js and spop.css in your page,

Position

SmallPox has six differents positions:

In mobile (max-width:30em), all go down.

Autoclose

Autoclose, to... close... automatically... Woohoo never done before

Autoclose

Groups

There can only be one SmallPop from each group

GroupNo groupGroup

Callbacks

Do what you need onOpen and onClose

Callbacks

Event

In your template you can call the close event, just add data-spop="close"

Launch

Change Defaults

Change the default options of all SmallPop's

Changed all defaultsRestore defaults

Options

Go top