jQuery合并图像盒


Today we will show you a nice effect for images with jQuery. The idea is to have a set of rotated thumbnails that, once clicked, animate to form the selected image. You can navigate through the images with previous and next buttons and when the big image gets clicked it will scatter into the little box shaped thumbnails again.

The beautiful photographs are by tibchris and you can find his stunning works on his Flickr page:

http://www.flickr.com/photos/arcticpuppy/

When the window gets resized, the positions of the thumbnails will automatically adapt to fit the screen. We are using the jQuery 2D Transform plugin for the animated rotation. You can find the plugin here: http://plugins.jquery.com/project/2d-transform

When navigating through the full images, we will reveal the next or previous image by removing the current image box by box.

Have fun with the demo and download the ZIP to experiment with this cool effect!
The whole animation looks best in Google Chrome and Apple Safari.

演示地址:http://www.orzbook.com/demo/MergingImageBoxes/index.html

jquery 京东、凡客,等电子商城产品内页多图展示代码

jquery京东产品内页多图展示代码,鼠标移到图片上有放大效果,方便查看产品细节,此代码适合网店产品展示,大图尺寸650×650,推荐下载!
如图:

演示地址:http://www.orzbook.com/demo/product-images/index.html

jQuery(expression, [context])

概述

这个函数接收一个包含 CSS 选择器的字符串,然后用这个字符串去匹配一组元素。

jQuery 的核心功能都是通过这个函数实现的。 jQuery中的一切都基于这个函数,或者说都是在以某种方式使用这个函数。这个函数最基本的用法就是向它传递一个表达式(通常由 CSS 选择器组成),然后根据这个表达式来查找所有匹配的元素。

默认情况下, 如果没有指定context参数,$()将在当前的 HTML document中查找 DOM 元素;如果指定了 context 参数,如一个 DOM 元素集或 jQuery 对象,那就会在这个 context 中查找。在jQuery 1.3.2以后,其返回的元素顺序等同于在context中出现的先后顺序。

参考文档中 选择器 部分获取更多用于 expression 参数的 CSS 语法的信息。

参数

expressionString

用来查找的字符串

context (可选)Element, jQuery

作为待查找的 DOM 元素集、文档或 jQuery 对象。

示例

描述:

找到所有 p 元素,并且这些元素都必须是 div 元素的子元素。

HTML 代码:
<p>one</p> <div><p>two</p></div> <p>three</p>
jQuery 代码:
$("div > p");
结果:
[ <p>two</p> ]

描述:

在文档的第一个表单中,查找所有的单选按钮(即: type 值为 radio 的 input 元素)。

jQuery 代码:
$("input:radio", document.forms[0]);

描述:

在一个由 AJAX 返回的 XML 文档中,查找所有的 div 元素。

jQuery 代码:
$("div", xml.responseXML);

jquery – 弹出框加地区选择

实例地址:http://www.orzbook.com/demo/alert-area/alert_area.html

如图:

需要源码的可以发邮件给我

email:support@orzbook.com

Google Image tag navigation

实例地址:http://www.orzbook.com/demo/googleimg/google.html

google首页图片导航。

需要源码的可以发邮件给我

email:support@orzbook.com

Page 1 of 3123»