Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shprink/mercor-alert
- Owner: shprink
- Created: 2012-02-22T06:46:16.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-05-23T14:29:57.000Z (over 12 years ago)
- Last Synced: 2024-10-09T08:58:44.501Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.