1<div id="clickme">
2 Click here
3</div>
4<img id="book" src="book.png" alt="" width="100" height="123">
5// With the element initially shown, we can dim it slowly:
6$( "#clickme" ).click(function() {
7 $( "#book" ).fadeTo( "slow" , 0.5, function() {
8 // Animation complete.
9 });
10});
11