uMessagebox 1.1

Simple mootools modal messagebox



Details

Author
Jose Luis Quintana
Current version
1.1
GitHub
joseluisq/umessagebox
Downloads
1647
Category
Interface
Tags
Report
GitHub Issues

Releases


How to use

The js code :

    #js
    var msg = new uMessagebox({
        title: 'My title',
        message: 'Some description',
        seconds: 5,
        opacity: 20,
        duration: 300,
        type: 'alert',
        countdown: true
    });

Live Demo

  • uMessagebox live demo here

Base Doc

Options :

  • title: "Title",
  • message: "Message",
  • seconds: 5,
  • zIndex: 8600,
  • opacity: 50,
  • duration: 300,
  • character: "'",
  • type: "alert",
  • countdown: true,
  • auto: false,
  • escClose: true,
  • clickClose: true,
  • mainclass: null,
  • classes: { "alert": "alert", "info": "info", "error": "error", "success": "success" }

Public Methods :

  • uMessagebox.show()
  • uMessagebox.hide()
  • uMessagebox.setTitle(str)
  • uMessagebox.setMessage(str)
  • uMessagebox.setType(str)
  • uMessagebox.setSeconds(n)
  • uMessagebox.getType()

Events :

  • uMessagebox.show()
  • uMessagebox.hide()

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus