I am trying to teach myself some code

i am working with a basic java animation

I basically want a carousel with pictures. When you click on a picture I want a table to drop down from being hidden.

I know I have a basic code here

how do i modify it to do what i want?


<script src="http://code.jquery.com/jquery-latest.js"></script>


$(document.body).click(function () {
if ($("div:first").is(":hidden")) {
} else {