No Images Added Yet

jQuery Picture Gallery - How many lines of code will it take to write a simple photo gallery?

Not Rated Yet.
Add to Favorites
Publisher
The jQuery library is a Javascript library designed to simplify client-side web page development. With the jQuery library and jQuery syntax, the development effort of interactive web pages is greatly reduced.
Product Details

Demonstration of a simple jQuery/JavaScript image gallery with fewer than 20 lines of code: http://www.oproot.com/if/jquery-photo.html Source code: $('#thumbs img').click(function(){ $('#largeImage').attr('src',$(this).attr('src').replace('thumb','large')); $('#description').html($(this).attr('alt')); }); $('#thumbs').delegate('img','click', function(){ $('#largeImage').attr('src',$(this).attr('src').replace('thumb','large')); $('#description').html($(this).attr('alt')); });

Report this Listing
Price
Free
Licence Type
Free
Views
224
Submitted on
7th November 2014
Last Updated
10th November 2014
Licence Type
Free Non-Commercial
License Price
USD 0

You May Also Like

User Reviews

Please rate the listing and tell the world know what do you think about the listing.
(0 ratings)
Not Rated Yet.
No reviews found.
Not yet reviewed by any member. You can be the first one to write a review for this listing.Click hereto submit your review.