Skip to content

Instantly share code, notes, and snippets.

@SDKiller
Last active August 29, 2015 14:27
Show Gist options
  • Save SDKiller/d88bb2bff74e54a5b7bd to your computer and use it in GitHub Desktop.
Save SDKiller/d88bb2bff74e54a5b7bd to your computer and use it in GitHub Desktop.
A getting started example using jGrowl on cdnjs.
<!DOCTYPE html>
<html>
<head>
<title>jGrowl</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jquery-jgrowl/1.2.12/jquery.jgrowl.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-jgrowl/1.2.12/jquery.jgrowl.min.js"></script>
<script type="text/javascript">
(function($){
$(function(){
$.jGrowl("Hello world!");
});
})(jQuery);
</script>
</head>
<body>
<h1>jGrowl</h1>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment