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

Visit Publisher Site
Get jQuery Picture Gallery - How many lines of code will it take to write a simple photo gallery? Hosting

Sponsored by TMDHosting

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')); });

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

Listing Details

Version:
Filed in:
Scripts / JavaScript / Scripts & Programs / Image Effects / Image Display
Submitted on:
 
Last Updated:
 
Publisher:
Other listings by this publisher

License & Pricing Information

LICENSE #1
License Type:
Free Non-Commercial
Price:
$0.00 USD
Additional Info:

Featured Marketplace Listings

User Reviews 

Be the first to review this listing!