|
UsingHumaneMessages
On how to install and use Humane Messages.
IntroductionHumane Messages is a system for displaying and temporarily logging non-modal messages, for use in web applications. It was written specifically for use in the administration features of the WordPress theme, K2. To see Humane Messages in action, download the demo and open demo.html in a browser. RequirementsHumane Messages requires the jQuery javascript library. Also recommended, but not required, is the jQuery plugin, Easing; to give just the right bounce to the animations. UsageTo use Humane Messages, include the JS and CSS files in your page's 'head': <script type="text/javascript" src="message.js"></script> <link href="message.css" media="screen" type="text/css" rel="stylesheet"> For the CSS to work, particularly in Internet Explorer, make sure your DOCTYPE is correct, like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Once that's done, all you do to send a message is send it a string via javascript, like so: humanMsg.displayMsg("That's No Moon"); And voila, you've got transparent non-modal messages. And there was much rejoicing. |
Sign in to add a comment
can u have it so that it doesnt add a log window ?
Looks nice, but is completely wonked in IE6.
i just wrapped the log window into a debug variable so it doesnt appear for me anymore, only thing left is the dodgE ie6 support
good, but should be work in some div tag and IE 6 too.
opkok[p
Ah no!
This was exactly what i wanted for something but i need ie6 support!
can you change the colors?
This is great. Thanks man.
@dgc223 to change colors, etc you can edit humanmsg.css