【starzoom codes】

本帖于 2015-08-05 23:26:10 时间, 由普通用户 弓尒 编辑
回答: 【图片zoom】弓尒2015-08-05 23:01:17
================ =========

Cloud Zoom is a popular fly-out jQuery zoom plugin used on many high profile retail sites.

Originally developed by Professor Cloud, this new version (from V2.0) has been completely re-engineered to fulfil the demands of modern websites and touch-enabled devices.

Now fully touch-enabled, more features, faster, smoother, WC3 valid, and with a developer's API.

A low cost commercial license ensures continued development, regular updates and technical support.

A free version of Cloud Zoom is still available for non-commercial websites only.

Cloud Zoom has many configuration options to match the look and feel of your website. Cloud Zoom small image
Cloud Zoom has many configuration options to match the look and feel of your website.
=========

Gallery Elements

Most HTML elements can be turned into a Cloud Zoom gallery elements. These will load different images into a Cloud Zoom instance.

Here we've used some styled links, but you can create galleries in whatever style you want: basic links, images, carousels etc.

Cloud Zoom small image
=========

Lens and Zoom CSS

The lens and zoom window can be altered using regular CSS. The default CSS class for the lens is cloudzoom-lens and for the zoom, cloudzoom-zoom in the cloudzoom.css file. You can alter this if you like, or specify different classes using the lensClass and zoomClass properties.

Here we have applied a thick coloured border with more rounded corners, and added a more prominent drop shadow.

Jet Zoom small image

Single Image Mode

Cloud Zoom works best with two images, a low resolution image to display on the page, and a high resolution image to use as the zoom.

However, you can still use Cloud Zoom with just one image.

If you don't specify the zoomImage property, Cloud Zoom will use the same image for both page image and zoom image. Set the size of the page image to be smaller than the actual pixel size of the image used. The zoom image will appear at full size. Most modern browsers do a good job of scaling down images.

Jet Zoom small image
=========

Tints

A colour tint can be applied to the smaller image when the lens is visible.

Cloud Zoom small image

Inner Zoom

Using the innerZoom property, the lens can be made invisible for a full size inner zoom effect.

Jet Zoom small image

Captions

Specify a source for the caption in the captionSource property.

The source can be any HTML attribute such as title, or a selector to some HTML content. Position captions top or bottom.

Jet Zoom small image
This is an HTML type caption. You can include any type of content in here!

Position

Using the zoomPosition property, the zoom window can be made to appear at any one of 16 predefined positions around the page image, or specify a selector to place the zoom window anywhere on the page as here.

Jet Zoom small image
=========

Modal Pop-up Window (e.g. Fancy Box)

You can use Cloud Zoom with modal plugins like the excellent Fancy Box.

Note: you will need to obtain your own appropriate Fancy Box license.

As well as Cloud Zoom's own zooming, you can also make a large version of the image pop-up on the page by clicking/tapping.

Where multiple gallery images are used, Cloud Zoom will pass the correct order of images to Fancy Box.

Insert the snippet of code below into the head part of your page, after loading the Cloud Zoom and Fancy Box JavaScript files.

Cloud Zoom small image
=========

Cloud Zoom in Tabbed Content

Cloud Zoom works with tab plugins such as jQuery UI and jQuery Tools, or other plugins that show and hide page content.

Cloud Zoom small image

There is no additional programming required. Just put Cloud Zoom inside the HTML of the tabbed content. Make sure you call the tab plugin initialisation before the Cloud Zoom initialisation.

Cloud Zoom small image
Cloud Zoom small image

Each Cloud Zoom inside the tabs can have its own unique options. Gallery elements will also work as normal, and you can still use modal plugins like Fancy Box.

Cloud Zoom small image
=========

Full Size Zoom

Cloud Zoom can be configured to display the entire zoom image. This is useful for a 'quick look' feature for multiple thumbnail images.



The zoom image will appear below this paragraph (using the zoomPosition option), and the 'flying' zoom animation has been turned off using the zoomFlyOut option.

=========

所有跟帖: 

test zoom cloud -弓尒- 给 弓尒 发送悄悄话 弓尒 的博客首页 (1098 bytes) () 08/05/2015 postreply 23:27:46

【雪鴞飛】 -弓尒- 给 弓尒 发送悄悄话 弓尒 的博客首页 (2689 bytes) () 08/05/2015 postreply 23:47:39

【雪鷹】 -弓尒- 给 弓尒 发送悄悄话 弓尒 的博客首页 (2577 bytes) () 08/06/2015 postreply 00:06:45

【snowy owl 2】 -弓尒- 给 弓尒 发送悄悄话 弓尒 的博客首页 (3024 bytes) () 08/06/2015 postreply 00:30:38

【紅底 zoom】 -弓尒- 给 弓尒 发送悄悄话 弓尒 的博客首页 (6322 bytes) () 08/06/2015 postreply 00:41:00

请您先登陆,再发跟帖!