Click Demo

This demonstrates a commonly-asked question: how do I replace Fillmore's image once it's been called? Answer: easy, just call it again!

Furthermore, it gives an example of simple onclick functionality.


<script src="../lib/jquery-1.7.1.min.js"></script>
<script src="../jquery.fillmore.js"></script>
<script>
	$.fillmore( { src: "pot-holder.jpg", speed: 500 } );
	
	$("#pot-holder").click(function() {
		$.fillmore( { src: "pot-holder.jpg" } );
	});
	
	$("#coffee").click(function() {
		$.fillmore( { src: "coffee.jpg" } );
	});
</script>