Plugin jQuery: Thumbnail Grid with Expanding Preview in jQuery & CSS

Thumbnail Grid with Expanding Preview in jQuery & CSS
http://www.jqueryrain.com/?http://tympanus.net/Tutorials/ThumbnailGridExpandingPreview/
http://tympanus.net/codrops/2013/03/19/thumbnail-grid-with-expanding-preview/
21/03/2013

Nội dung

Thumbnail Grid with Expanding Preview in jQuery & CSS

A tutorial on how to create a thumbnail grid with an expanding image preview similar to the effect seen on Google Images.If you have searched images on Google recently, you might have noticed the interesting expanding preview for a larger image when you click on a thumbnail. It’s a really nice effect and it is very practical, making a search much easier. Today we want to show you how to create a similar effect on a thumbnail grid. The idea is to open a preview when clicking on a thumbnail and to show a larger image and some other content like a title, a description and a link.

The interesting part is to calculate the correct preview height and to scroll the page to the right position. We’ll expand the preview in a way so that we can see the respective thumbnail row and cover the rest of the remaining page. Note that we don’t use very large images for the preview in the demo so you might see a lot of empty space on large monitors.

Tags: Grid

Nguồn: www.jqueryrain.com/2013/03/thumbnail-grid-with-expanding-preview-in-jquery-css/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận