A highly customizable popup window with browser feature detection
- Pure and fast JavaScript, no dependencies required
- Cross-browser support for Chrome, Firefox and IE11+
- Highly customizable and easy to use
- Browser feature detection
ShoutBox is easy to setup and highly customizable. Options are defined in shoutBox.setOptions
and any styling is done by CSS. See the Documentation for more information.
Download and install the latest version from GitHub.
Add the following in the page header:
<link rel='stylesheet' href='shoutbox.min.css' type='text/css'>
<script type="text/javascript" src="shoutbox.min.js"></script>
<script>
shoutBox.setOptions({
'confirmButton': 'OK',
'messageTitle': 'Hey there!',
'messageText': 'Your web browser is not supported. Please upgrade to a modern browser.',
'localStorage': false,
'browserSupport': {
'cssgrid': Modernizr.cssgrid,
'flexbox': Modernizr.flexbox
}
});
</script>
You can help funding the development and show your appreciation of the work put into this project by making a donation through PayPal or Liberapay.
This project is developed and maintained by Tobias Lidström.
ShoutBox is licensed under the MIT License.