Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple Mootools modal messagebox
JavaScript CSS
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
js/libs
nbproject
LICENSE
README.md
index.html
package.yml

README.md

uMessagebox

Simple mootools modal messagebox

How to use

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

Screenshots

Screenshot

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()
Something went wrong with that request. Please try again.