A simple jQuery plugin for showing a message inside a nice comic balloon is give hints, help or any kind of message to the users
-
Copy the contents of src/ to the corresponding asset directories in your project.
-
Insert the neccesary elements in your document's
<head>
section, e.g.:
<link rel="stylesheet" href="src/css/comic.hint.css" />
<script type="text/javascript" src="src/js/comic.hint.js"></script>
Remember to include comic.hint.js after including the main jQuery library.
- Initialise Comic-Hint in your document.onload, e.g.:
<script type="text/javascript">
$(document).ready(function() {
$("#element").comicHint({ text: "Your message here!" });
});
</script>