Дописи в корисному
- Как сделать, чтобы ...(0)
- Как определить активный ...(0)
- SMF добавляем кнопку ...(0)
- А как сделать кнопку ...(0)
- Joomla: JFolder:: create: Path ...(0)
- Прописываем мета ...(0)
- Как убрать meta name="generator" ...(0)
- Регистрация поисковики ...(0)
- IceVmCart+SEF - модуль корзины ...(5)
- Flash поверх выпадающего ...(0)
- Ошибка в Джумле: ...(0)
- Warning: Parameter 1 to modMainMenuHelper::buildXML() ...(0)
- Всплывающее окно ...(0)
- Свежие патчи (обновления) ...(0)
- Простой скрипт плавной ...(0)
- Добавляем новое ...(0)
- Начинающим верстальщикам. ...(0)
- Virtuemart - ускорение ...(2)
- Cloud Zoom - простой и ...(0)
- Инструмент для начальной ...(0)
- error : Parameter 2 to frontpage() ...(0)
- Не все позиции модулей ...(0)
|
бер.
13
Cloud Zoom - простой и легкий в интеграции зум для картинок. Искал не это, но в принципе подошло как вариант решения задачи. Может кому будет полезно: Облако масштабирования изображения без увеличения JQuery плагин, сопоставим альтернативе продуктов, таких как Magic Zoom. По сравнению с популярной jQZoom плагин, имеет больше возможностей и более надежен и совместим в различных браузерах. Пример HTML файла: <html> <head> <!-- Load the Cloud Zoom CSS file --> <link href="/styles/cloud-zoom.css" rel="stylesheet" type="text/css" /> <!-- You can load the jQuery library from the Google Content Network. Probably better than from your own server. --> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <!-- Load the Cloud Zoom JavaScript file --> <script type="text/JavaScript" src="/js/cloud-zoom.1.0.2.min.js"></script> </head> <body> <!-- An anchor with class of 'cloud-zoom' should surround the small image. The anchor's href should point to the big zoom image. Any options can be specified in the rel attribute of the anchor. Options should be specified in regular JavaScript object format, but without the braces. --> <a href='/images/zoomengine/bigimage00.jpg' class = 'cloud-zoom' id='zoom1' rel="adjustX: 10, adjustY:-4"> <img src="/images/zoomengine/smallimage.jpg" alt='' title="Optional title display" /> </a> <!-- You can optionally create a gallery by creating anchors with a class of 'cloud-zoom-gallery'. The anchor's href should point to the big zoom image. In the rel attribute you must specify the id of the zoom to use (useZoom: 'zoom1'), and also the small image to use (smallImage: /images/....) --> <a href='/images/zoomengine/bigimage00.jpg' class='cloud-zoom-gallery' title='Thumbnail 1' rel="useZoom: 'zoom1', smallImage: '/images/zoomengine/smallimage.jpg' "> <img src="/images/zoomengine/tinyimage.jpg" alt = "Thumbnail 1"/></a> <a href='/images/zoomengine/bigimage01.jpg' class='cloud-zoom-gallery' title='Thumbnail 2' rel="useZoom: 'zoom1', smallImage: ' /images/zoomengine/smallimage-1.jpg'"> <img src="/images/zoomengine/tinyimage-1.jpg" alt = "Thumbnail 2"/></a> <a href='/images/zoomengine/bigimage02.jpg' class='cloud-zoom-gallery' title='Thumbnail 3' rel="useZoom: 'zoom1', smallImage: '/images/zoomengine/smallimage-2.jpg' "> <img src="/images/zoomengine/tinyimage-2.jpg" alt = "Thumbnail 3"/></a> </body> </html> Дальше таблица поддерживаемых еффектов:
Источник: http://www.professorcloud.com/mainsite/cloud-zoom.htm |











