Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

danillos/tinyalert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyAlert

Screenshot

Tiny and simple alert with Mootools and CSS3 only. (js only ~1.4k uncompressed)

How to use

Include on page:

<script src="mootools-1.2.4+-core.js" type="text/javascript"></script>
<script src="tiny_alert.js" type="text/javascript"></script>
<link rel="stylesheet" href="tiny_alert.css" type="text/css">

Simple example:

var b = new TinyAlert();
b.show('Title','Your message');

Creating your skins Styles:

/*Main TinyAlert block style.*/
#tinyalert > div.skinName {

}

/*Title style.*/
#tinyalert > div.skinName > span.tatitle{

}

/*Message style.*/
#tinyalert > div.skinName > span.tamsg{

}

Live Creation

See Demo and Documentation for more detail.

DEMO | DOCUMENTATION | DOWNLOAD

About

Tiny and simple alert system with Mootools and CSS3 only.

Resources

Stars

Watchers

Forks

Packages

No packages published