Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shprink/mercor-alert

Deprecated. everything is happening in this repo: https://github.com/shprink/mercor
https://github.com/shprink/mercor-alert

Last synced: about 1 month ago
JSON representation

Deprecated. everything is happening in this repo: https://github.com/shprink/mercor

Awesome Lists containing this project

README

        

Mercor Alert is Deprecated. everything is happening in this repo: https://github.com/shprink/mercor
============

Alert is a Mootools based Class that allows you to display different type of alerts to users.

This Class is highly customizable. You can change, the size, the position, the style and even the template of you alerts.

Showcases & Documentation
-------------------------

http://mercor.julienrenaux.fr/library.html

How to use Mercor Alerts?
-------------------------

### Insert mandatory files in your Web page

* The Mootools Library (http://http://mootools.net)
* The Mercor Alert JavaScript Class
* The Mercor Alert CSS file

```html

```

### Create your first Alert

```js
window.addEvent('domready',function(){
var alert = new MercorAlert;
alert.open({
'title': 'Praesent bibendum',
'text': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent bibendum, justo sit.',
'type': 'success' // notice, error, success
});
});
```
### Want to customize your Alert?

Visit http://mercor.julienrenaux.fr/library.html for more information.

### License

License MIT.
Gives you the possibility to use and modify this code in every circumstance.