I AM jQuery Version ? Hear Me Roar!
by Reusablecode
HTML
<div id="helloworld">
jQuery
<span id="version"></span>
</a>
CSS
#helloworld {
color: #667E72;
background: #f0f0f0;
padding: 16px;
font-family: Georgia, Tahoma;
font-size: 1.7em;
margin: 0 auto;
position: relative;
top: 20px;
text-decoration: none;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border: solid 4px #ddd;
}
#version {
display: none;
color: #A80025}
body {
text-align: center;
}
JavaScript
(function() {
$('#version').show('slow').text(jQuery.fn.jquery);
})(jQuery);