×

Demo - Different types of closable in-line message boxes (jQuery)


Demo - Auto close in-line message box (jQuery)

About jQuery Inline Message Box

Inline Message Box plugin is a light weight (4.26 KB) jQuery plugin. Features include 6 types of message box, no additional css required, closable, auto closable, option parameters for full control of message box functionality etc.. You can use it very easily.

How to use it

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="inline-message-box.min.js"></script>

Configuration

OptionDefault ValueDescription
messageBoxTypenullDefine the message box type here. 6 types of message box type is available. if this option is null, then it is the default message box. Other types are success, error, fatalerror, warning & info.
messagenullSet your message here.
closeButtontrueIf you don't need 'close' button, set to false.
enabledfalseIf you want to close message box automatically, then it set to true.
milliseconds30000This value is used for automatically close this message within '30' sec.


jQuery Plugin  Message Box  JavaScript Plugin