Course lectures : 1 of 2

Structure and css

Sliding image caption with jQuery

Last updated: 19th July 2011

Today we are going to learn how to use jQuery's animate() method in order to create a sliding caption for the image, which will be triggered when the hover() event occurs.

sliding image captionjquery sliding image captionimage caption with jqueryjquery sliding overlay

COMMENTS

If you'd like to include code example please wrap your code within <pre><code> tags. See example here


<pre>
<code>
function fullName(firstName, lastName)
{
    return firstName + ' ' + lastName;
}
</code>
</pre>