Version Notes
1.9.2.1
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | Interface_Frontend_Rwd_Default |
| Version | 1.9.2.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.9.2.0 to 1.9.2.1
- package.xml +6 -6
- skin/frontend/rwd/default/css/styles.css +1 -0
- skin/frontend/rwd/default/js/lib/elevatezoom/jquery.elevateZoom-3.0.8.min.js +1 -1
- skin/frontend/rwd/default/js/lib/elevatezoom/jquery.elevatezoom.js +1583 -1583
- skin/frontend/rwd/default/js/lib/enquire.js +1 -1
- skin/frontend/rwd/default/js/lib/fastclick.js +1 -1
- skin/frontend/rwd/default/js/lib/imagesloaded.js +1 -1
- skin/frontend/rwd/default/js/lib/jquery.cycle2.min.js +1 -1
- skin/frontend/rwd/default/js/lib/jquery.cycle2.swipe.min.js +1 -1
- skin/frontend/rwd/default/js/lib/modernizr.custom.min.js +1 -1
- skin/frontend/rwd/default/js/lib/selectivizr.js +1 -1
- skin/frontend/rwd/default/scss/vendor/_normalize.scss +0 -25
package.xml
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Interface_Frontend_Rwd_Default</name>
|
| 4 |
-
<version>1.9.2.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/afl-3.0.php">AFL v3.0</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>This is a RWD themes base</summary>
|
| 10 |
<description>This is a RWD themes base</description>
|
| 11 |
-
<notes>1.9.2.
|
| 12 |
<authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
|
| 13 |
-
<date>2015-07-
|
| 14 |
-
<time>12:
|
| 15 |
-
<contents><target name="magedesign"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="etc"><file name="theme.xml" hash="d00dd83bac2155a76a9f004ceeba2aa7"/><file name="widget.xml" hash="b26f0daa5ea35fae7def54e530e4fc6a"/></dir><dir name="layout"><file name="bundle.xml" hash="d4d6fd3d43bab191589be5dc04de3af9"/><file name="catalog.xml" hash="cf56a0853b8a4672c340074d6ce7d4ec"/><file name="catalog_msrp.xml" hash="761904c9772b9f9f87d168eaa5a3f35e"/><file name="catalogsearch.xml" hash="7577994c03f6e57aa50a2f9b9608fd06"/><file name="checkout.xml" hash="7a3227db21193c1f7abc1a293ee89637"/><file name="cms.xml" hash="ab13bce455c0ebdc6b7ac66973cca084"/><file name="configurableswatches.xml" hash="da5a91b2cd46e37c18f0ce23b5668d5d"/><file name="contacts.xml" hash="0feca543b963f4643b33ddff9d012287"/><file name="customer.xml" hash="becba768ba7cf0aa2f2133d77734c97c"/><file name="directory.xml" hash="116dba3caebbb645f4a4740d6203a809"/><file name="downloadable.xml" hash="dc03bfb05c6ad52ba2cfa26fc05ef80a"/><file name="newsletter.xml" hash="36464d3b9d5627a97d53cf9b5bb59038"/><file name="oauth.xml" hash="7ecd522b4625a53bd29c36f7b6708be2"/><file name="page.xml" hash="970456dbe2ff4ef2d351f6f1420bbd6a"/><file name="paypal.xml" hash="71611cd614aa622c50809659fc141b24"/><file name="persistent.xml" hash="668e57da0f663acb02b36605aecde881"/><file name="review.xml" hash="e44ec617f8ad50a03ba61ab3a7f1a838"/><file name="rss.xml" hash="a96fc7aa525d5ee33ad417826cec2658"/><file name="sales.xml" hash="c9910bae1a47eb29eb1bbf3e0b720678"/><file name="wishlist.xml" hash="868da261c6eb64da2e3adeca3a390b28"/></dir><dir name="template"><dir name="authorizenet"><dir name="directpost"><file name="form.phtml" hash="50ae88ef4535a9ca0e8e46799288f413"/></dir></dir><dir name="bundle"><dir name="catalog"><dir name="product"><dir name="view"><dir name="type"><dir name="bundle"><file name="availability.phtml" hash="39f9ec1e37f2d2d838596dd2892b1005"/><dir name="option"><file name="select.phtml" hash="3f51c006c554b18cc60f6229461cad5e"/></dir></dir><file name="bundle.phtml" hash="0abf2442f49382f83dd62c31073e9040"/></dir></dir></dir></dir><dir name="email"><dir name="order"><dir name="items"><dir name="creditmemo"><file name="default.phtml" hash="ab0adcbb666002cc70acdf6ac7021a12"/></dir><dir name="invoice"><file name="default.phtml" hash="d6c0ebeec5e10ffbc506763491b66845"/></dir><dir name="order"><file name="default.phtml" hash="abde26e36f098e3ce5108c5cc80bd254"/></dir><dir name="shipment"><file name="default.phtml" hash="b9c8dc719be1a634e0f448e6b4b47901"/></dir></dir></dir></dir><dir name="sales"><dir name="order"><dir name="items"><file name="renderer.phtml" hash="a8e80c1633e3ee32a8c9168c9d9e8383"/></dir></dir></dir></dir><dir name="captcha"><file name="zend.phtml" hash="872875bf33960b1a1e9ba6859f46600f"/></dir><dir name="catalog"><dir name="layer"><file name="filter.phtml" hash="a44247deec06eb5911f3df6d843d956b"/><file name="state.phtml" hash="eda8e9eb4f713c9da03ba0a54a25212a"/><file name="view.phtml" hash="2ca8dd0e3f146585d07e6b382e8a4eee"/></dir><dir name="msrp"><file name="popup.phtml" hash="31f2008ce2ea58e81e8414645f0ede64"/></dir><dir name="navigation"><file name="left.phtml" hash="bfb71cd13382c16524db2b0d0eab7185"/></dir><dir name="product"><dir name="compare"><file name="list.phtml" hash="5b808fbf9a8bddb979febcfe2609da94"/><file name="sidebar.phtml" hash="62145a39f96743f5785b3627547dc9f7"/></dir><dir name="list"><file name="related.phtml" hash="0d70beffbe11222b2c1c2183ba56b63c"/><file name="toolbar.phtml" hash="c6a3942f398c592827bbbdbb0690a01b"/><file name="upsell.phtml" hash="450003d58ff096dc379ab9793b98c9dd"/></dir><file name="list.phtml" hash="634564c3159f865577a09d34ee0ca5e3"/><file name="price.phtml" hash="ca4e9a03d5ecdac3d35196e4aee7380c"/><dir name="view"><file name="addto.phtml" hash="4b275d89973855e5a3a6088e276f43f8"/><file name="addtocart.phtml" hash="6fa2ea19134bd838dd5bd7c6de9e6843"/><file name="media.phtml" hash="51aa2d8c08d1be4ad9f979a0730bbbb9"/><file name="sharing.phtml" hash="7b9fb533933a5de636bbfa625e25369a"/><dir name="type"><dir name="availability"><file name="default.phtml" hash="4e0b08dad4bb489e8c124308cc56dd4e"/><file name="grouped.phtml" hash="7582181a90bdfb695d816fe895ed399b"/></dir><file name="default.phtml" hash="ca7f231b33e607ffe8f2f6dd4bd96948"/><file name="grouped.phtml" hash="36501822168e99019f702312a293d7ee"/><dir name="options"><file name="configurable.phtml" hash="71811dffa6131fbb179bc06ac1f6e3f6"/></dir></dir></dir><file name="view.phtml" hash="a7f35b24e370ab77185164cdde16c259"/><dir name="widget"><dir name="new"><dir name="column"><file name="new_default_list.phtml" hash="8461c192eab496f4cc024946ea4a5b18"/><file name="new_images_list.phtml" hash="cbcb98d6ad1982d3fd6bb8004f0ef1c1"/><file name="new_names_list.phtml" hash="9cae45c356c126e715273b3a9dd5708c"/></dir><dir name="content"><file name="new_grid.phtml" hash="1215c91de68cb635ee0228e2be9160da"/><file name="new_list.phtml" hash="7317df9d1635324f4aa66bf390524ed6"/></dir></dir></dir></dir></dir><dir name="cataloginventory"><dir name="stockqty"><file name="composite.phtml" hash="778855bedbe85cc965ce4a025ced04ea"/></dir></dir><dir name="catalogsearch"><dir name="advanced"><file name="form.phtml" hash="49a326d7a04cd24f76c089a571f227f7"/></dir><file name="form.mini.phtml" hash="936f335929a1c1f3bb8d20ea274cf9be"/><file name="result.phtml" hash="ea8f7555b6ff6c7af0bdcffec55d0027"/></dir><dir name="centinel"><dir name="authentication"><file name="start.phtml" hash="fe6c94ec3c92840a58b319d5038ca0d9"/></dir></dir><dir name="checkout"><dir name="cart"><file name="coupon.phtml" hash="8893925e57b7d01c0c3b1cbe46965f2f"/><file name="crosssell.phtml" hash="b9253440450cdb8609871a0d23bf3074"/><dir name="item"><dir name="configure"><file name="updatecart.phtml" hash="00a773bf6b7d550cecbcb4afd5f84b7c"/></dir><file name="default.phtml" hash="581d3d31fef83f660942431922293aff"/></dir><dir name="minicart"><file name="default.phtml" hash="4892d89135eda067ecd9d0a6efdcf89f"/><file name="items.phtml" hash="1547e9d22a2f871b28f265d0a3305876"/></dir><file name="minicart.phtml" hash="c160af1af285428f466bdb1cd46ac13e"/><dir name="render"><file name="default.phtml" hash="5c1c460c6c632c5c351e7901427fffe4"/><file name="simple.phtml" hash="025e6bbb36e41df2128c1c95b36ba231"/></dir><file name="shipping.phtml" hash="3080bd1504cae62262062058863e1838"/><dir name="sidebar"><file name="default.phtml" hash="7cda83cea687b899318a3b4133c62408"/></dir><file name="sidebar.phtml" hash="390436e51cacfa0ccce28544765f0962"/></dir><file name="cart.phtml" hash="c625c2d94711e014615486b7607b6e45"/><dir name="multishipping"><file name="addresses.phtml" hash="be9c2953dbab472373de481c8e8b65d4"/><file name="billing.phtml" hash="aa92a53b4c541317b9e6815f5b8a1f28"/><dir name="item"><file name="default.phtml" hash="243e0e6b950f06db8c9c1f7d1ef24590"/></dir><dir name="overview"><file name="item.phtml" hash="9318047ee9189440d7dc1f7a0ca2d917"/></dir><file name="overview.phtml" hash="eaa4630ae9f0bafe9f102e6b1d19eb95"/></dir><dir name="onepage"><file name="payment.phtml" hash="96265c46bb4a202561fbd269636a663c"/><file name="progress.phtml" hash="7445ce55ebe83156bfdf1180bc35fedd"/><dir name="review"><file name="info.phtml" hash="a515a973ebc0181a14d45a3cbe2c2fc9"/><file name="item.phtml" hash="b88883933d696481306734390dceee02"/></dir><file name="shipping.phtml" hash="d4136b9aa6094edd4bac70fbaac89f25"/></dir><file name="onepage.phtml" hash="e3a4b58790c9f9802aff1f7896bd9c72"/></dir><dir name="configurableswatches"><dir name="catalog"><dir name="layer"><dir name="filter"><file name="swatches.phtml" hash="fe55df1df2f30b2e3ebac87bf8c0dbdc"/></dir><dir name="state"><file name="swatch.phtml" hash="fb11cbae1f603017c4e85a8692ec9752"/></dir></dir><dir name="media"><file name="js.phtml" hash="f7269d9211f654f608195c8f1ce891b2"/></dir><dir name="product"><dir name="list"><file name="swatches.phtml" hash="e41711ec411e3be7a29caaf62ac9129c"/></dir><dir name="view"><dir name="type"><dir name="configurable"><file name="swatch-js.phtml" hash="60914817ac4db7f54acb875efb106e4f"/></dir><dir name="options"><dir name="configurable"><file name="swatches.phtml" hash="c8d44e23f337facd225649dc17cf038a"/></dir></dir></dir></dir></dir></dir></dir><dir name="contacts"><file name="form.phtml" hash="2c42bb9ff229dfbd556f5e333982e825"/></dir><dir name="customer"><dir name="account"><dir name="dashboard"><file name="address.phtml" hash="42c81b3a4844d65fcaf5622ce03a5109"/></dir><file name="dashboard.phtml" hash="1330c69eb0c5ba4433943a288e9407a0"/><file name="navigation.phtml" hash="dcec943b87e531c7b1a347ce9965ff45"/></dir><dir name="address"><file name="edit.phtml" hash="ecd1ccd67442bf76df64952d8f8c93ee"/></dir><dir name="form"><file name="address.phtml" hash="3346cebdea9573ce3a5f500e8b6004a5"/><file name="changepassword.phtml" hash="8175021062d265051b59bf5622aba31f"/><file name="confirmation.phtml" hash="6cca7f19f7001e20a1128c633cfa1105"/><file name="edit.phtml" hash="34c2e0a0992d4353fb513b573e97dd4e"/><file name="forgotpassword.phtml" hash="adab27b320754d03d6db2517db9e3c86"/><file name="mini.login.phtml" hash="953db146a0c5a8f668b5b5d1be61f648"/><file name="resetforgottenpassword.phtml" hash="88b81a7972ae049b3fddd990507c6cb6"/></dir></dir><dir name="directory"><file name="currency.phtml" hash="39bcea13a67e2503b89cf8605c5f9383"/></dir><dir name="downloadable"><dir name="catalog"><dir name="product"><file name="type.phtml" hash="4f2f1cc4380dd935ef53c07ce9ebe11e"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="235ba1ef53629e6e0c860c822f009d73"/></dir></dir><dir name="onepage"><dir name="review"><file name="item.phtml" hash="12cb20296cf903662af327800da0ae24"/></dir></dir></dir><dir name="customer"><dir name="products"><file name="list.phtml" hash="4e4c835a56504ad68b8591ef61797744"/></dir></dir><dir name="email"><dir name="order"><dir name="items"><dir name="creditmemo"><file name="downloadable.phtml" hash="2bb7a54f7002427442d81ed57b5ad6b1"/></dir><dir name="invoice"><file name="downloadable.phtml" hash="8c6077b5646124943b74fa7c4ba7f848"/></dir><dir name="order"><file name="downloadable.phtml" hash="b9d771d574dfebd99a24c2336f8285d7"/></dir></dir></dir></dir><dir name="sales"><dir name="order"><dir name="items"><dir name="renderer"><file name="downloadable.phtml" hash="8b9ea75c91389c6cd847ab0ecf4c5bf8"/></dir></dir></dir></dir></dir><dir name="email"><dir name="catalog"><dir name="product"><file name="list.phtml" hash="5f80ecea7ccdcf068e45303a6dcebf72"/><file name="new.phtml" hash="3e967ea93be598baaada7a78507b1434"/></dir></dir><dir name="order"><dir name="creditmemo"><file name="items.phtml" hash="f79cb5ed65ce3927b1d323479b879418"/></dir><dir name="invoice"><file name="items.phtml" hash="d4a446c25eda630196fa52072599722b"/></dir><dir name="items"><dir name="creditmemo"><file name="default.phtml" hash="917301b99bb27e5495f436b91fc16ccc"/></dir><dir name="invoice"><file name="default.phtml" hash="917301b99bb27e5495f436b91fc16ccc"/></dir><dir name="order"><file name="default.phtml" hash="a883309f060bfdef5aa07a74a620032b"/></dir><dir name="shipment"><file name="default.phtml" hash="9ee4f1a8b3662422eb05ec592e105af2"/></dir></dir><file name="items.phtml" hash="3f43664a56eccd336ae9f93644a9d889"/><dir name="shipment"><file name="items.phtml" hash="fda23599e3bcf1f3538cb74e7acfa1c4"/><file name="track.phtml" hash="3d06d28e690ad0997090b2a422080a8c"/></dir><dir name="totals"><file name="wrapper.phtml" hash="0559a432acd7beda44e5b227bff41211"/></dir></dir><dir name="productalert"><file name="price.phtml" hash="007c4d6639335482e7082da23a527cb5"/><file name="stock.phtml" hash="1d5a4e6e3c2cbbdd4f54512c85547db5"/></dir></dir><dir name="newsletter"><file name="subscribe.phtml" hash="3a993dd52f34d23aa9e58d360971a309"/></dir><dir name="oauth"><dir name="authorize"><dir name="form"><file name="login-simple.phtml" hash="f9c0fb94aba9700cb862f0248baec9a1"/></dir></dir></dir><dir name="page"><file name="1column.phtml" hash="0217d29c5ce30c4241b956f4bfcfe089"/><file name="2columns-left.phtml" hash="bebed06fd537e396f05ebbc0e4291d36"/><file name="2columns-right.phtml" hash="a1c08bc7d7fbb9d00988bb9ecdaa85e1"/><file name="3columns.phtml" hash="6f971e2518978701bdf7ad1bb799ace3"/><file name="empty.phtml" hash="f420bff4c02fa84f98d2c1ce09dce4ff"/><dir name="html"><file name="footer.phtml" hash="4a3efd641403e108261b3b6b81cd71fc"/><file name="header.phtml" hash="115ecf5a9042ffcce1536fb10df32914"/><file name="pager.phtml" hash="e16cd50199a2d91c48fbf72ae22600cc"/><dir name="topmenu"><file name="renderer.phtml" hash="7cee75df8e011107ff49117324a2e833"/></dir><file name="topmenu.phtml" hash="5a3237e12cb48e9b77206485f9e46499"/></dir><file name="popup.phtml" hash="807903de3c55861253a6e7a941c246eb"/><file name="print.phtml" hash="f292ecc352173d579d449794a379dc5d"/><dir name="template"><file name="links.phtml" hash="1f8ed0b51c26baf0cc51f864283816c5"/></dir></dir><dir name="payment"><dir name="form"><file name="cc.phtml" hash="a80f418e2c5fce9cc6b758d9d03c195f"/><file name="ccsave.phtml" hash="d7b2ee5a098f61419e8ab7b423d07be7"/></dir><dir name="info"><file name="default.phtml" hash="182a8a5c7ae90f701da3d26959ae88a5"/></dir></dir><dir name="paypal"><file name="bml.phtml" hash="d4bd3e63c77ebec817c9958a7b66c143"/><dir name="express"><dir name="minicart"><file name="shortcut.phtml" hash="821f849045dbd9158c117fd69b9295bd"/></dir><dir name="product"><file name="shortcut.phtml" hash="3cdd24f3af46ef4760ca20885f077d0a"/></dir><dir name="review"><file name="address.phtml" hash="4f2f7b2cdfeb4e3e8f4c9de45e10c03d"/><file name="details.phtml" hash="559a732d462bfb741d03ec05c043d50e"/><dir name="shipping"><file name="method.phtml" hash="a1a0836340cae4530e9d035dfec315da"/></dir></dir><file name="review.phtml" hash="abbb96284c22d9c451500333bc9abc98"/></dir><dir name="partner"><file name="us_logo.phtml" hash="2c3eccffd8d1d79f40679cbf4efd85ed"/></dir></dir><dir name="persistent"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="85aa6cfa48f500ff3e54beaf27c2fadf"/><file name="login.phtml" hash="634989681520d255b70f738acca3546a"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="44f01752af72cceb3bf5fff3a5a23cba"/><file name="register.phtml" hash="d4b2d37e7672f7f7d31271fa36c9be85"/></dir></dir><dir name="header"><file name="links.phtml" hash="eb1a3675863fd60601a83ba37aba1a94"/></dir><file name="remember_me.phtml" hash="ecb29a132a145258c5ccf8303fbf7825"/><file name="remember_me_tooltip.phtml" hash="c410dcf15883faca8c1fda017586378e"/></dir><dir name="rating"><file name="detailed.phtml" hash="ac029753c6ad21473faa8f7f1e6464e7"/></dir><dir name="reports"><file name="product_viewed.phtml" hash="868f17fe24d87fce8fc6281c65fa6825"/><dir name="widget"><dir name="compared"><dir name="column"><file name="compared_default_list.phtml" hash="98b5a02b4d0e9f24e2128199b7ff8ac9"/><file name="compared_images_list.phtml" hash="b8018d02e1c808983b9da2fcedbf380b"/><file name="compared_names_list.phtml" hash="4b3cc7169338ceb224b3bf134767d506"/></dir><dir name="content"><file name="compared_grid.phtml" hash="bcad46bcab98be82e219362621e37491"/><file name="compared_list.phtml" hash="6d748da0752c62ccbda731d294ce5065"/></dir></dir><dir name="viewed"><dir name="column"><file name="viewed_default_list.phtml" hash="211165fdd25df6912981d4b9abef97d2"/><file name="viewed_images_list.phtml" hash="48fdb9f1cb78cd28f30815abd9e8901a"/><file name="viewed_names_list.phtml" hash="5337debf0ddc6b5fec96cdfa543f1747"/></dir><dir name="content"><file name="viewed_grid.phtml" hash="e8e30d08f535a1d630a10c2f3d348108"/><file name="viewed_list.phtml" hash="446121c899bfd198eebc4c65f978ddbd"/></dir></dir></dir></dir><dir name="review"><dir name="customer"><file name="view.phtml" hash="f05a86c29f6b998382d09f152632fc2b"/></dir><file name="form.phtml" hash="bc2a3a251a83fe521e7706dc2bcf32b5"/><dir name="product"><dir name="view"><file name="list.phtml" hash="34948e48ae602004e2869de139a22a2a"/></dir></dir><file name="view.phtml" hash="ec56bfd82035e90ce84f5de9b647cca3"/></dir><dir name="sales"><dir name="billing"><dir name="agreement"><file name="view.phtml" hash="1b92ce064e12147b17080fc5c2db3ae1"/></dir><file name="agreements.phtml" hash="9dff256daa8f0ba30e609c2eebe06efd"/></dir><dir name="order"><dir name="creditmemo"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="56630660fd5dfcad091a1e3bf7f34b36"/></dir></dir><file name="items.phtml" hash="a89d7a81766c904c8068e82969f3aa34"/></dir><file name="history.phtml" hash="84ac8f3748940b8efaae73fade8dd243"/><dir name="invoice"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="a96b98f4bac113c8d974e91d8a68f161"/></dir></dir><file name="items.phtml" hash="33f6ad17b6418fc29ad8b45b7f8254f1"/></dir><dir name="items"><dir name="renderer"><file name="default.phtml" hash="cdc2fa9fa75773fc214a1cf1b523a973"/></dir></dir><file name="items.phtml" hash="c8beda8f74c01263549ea2706934f8bb"/><file name="recent.phtml" hash="f17054de57e8c74cffbec8a7381fe004"/><dir name="shipment"><file name="items.phtml" hash="cf419a6963ec9e9c92bcc1f04011457c"/></dir></dir><dir name="recurring"><file name="grid.phtml" hash="ac0d5f5d757ed8abbfe94e9fc2f18124"/><dir name="profile"><file name="view.phtml" hash="ae06af716d2c48860db09000224e8f71"/></dir></dir><dir name="widget"><dir name="guest"><file name="form.phtml" hash="d08e046a18b17a628f46551053ced887"/></dir></dir></dir><dir name="sendfriend"><file name="send.phtml" hash="2849cb83f45985ff5e7564fa591c501a"/></dir><dir name="wishlist"><dir name="button"><file name="update.phtml" hash="6e887fadfcecb6f5a3f4a8c999bc3634"/></dir><dir name="item"><dir name="column"><file name="cart.phtml" hash="1715f0d797d0d5d3d26198dd347e302d"/><file name="info.phtml" hash="e48e55fa0fbced5b309f7f5f5b3f221b"/><file name="price.phtml" hash="1c1645d8ad629b068294d905dcaee448"/><file name="quantity.phtml" hash="906589e5f6d83daf6b7ab60633d980e2"/></dir><file name="list.phtml" hash="face9e02ba146978704797f270d4c836"/></dir><file name="shared.phtml" hash="5144c2fa4d5dc1a9df7f15513d4a461b"/><file name="sidebar.phtml" hash="f0f180ae9f831b0f47a9478ac2c41c3b"/><file name="view.phtml" hash="d2306e1331e6adc8cf54969e54f28fef"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="css"><file name="madisonisland-ie8.css" hash="d5f47a4cd003ceceb5371e3837a50212"/><file name="madisonisland.css" hash="6edb2c3d3ef856ec1362d176410ec37b"/><file name="scaffold-forms.css" hash="b6e3ea01988f54815d2275047b5d29d5"/><file name="styles-ie8.css" hash="5694f9525cb155389fe91691560548e4"/><file name="styles.css" hash="8990fb84b805d342d8a139ac92d25eb4"/></dir><dir name="images"><file name="ajax-loader.gif" hash="f48ee069890b16455c3ddcacee9b5f75"/><file name="bg_x.png" hash="c321c67f6929326129426c9e83207ea3"/><file name="demo-logo.png" hash="c6f4b110e5379547e71d367479f0f945"/><file name="demo_logo.png" hash="7694461c41abb69ca60c086c69e312cc"/><file name="icon_sprite.png" hash="e15f0103ef5ebe3baf48960bb9ccfaab"/><file name="icon_sprite@2x.png" hash="2e9c31d760a33d9f27951210f8311341"/><file name="logo.gif" hash="5e0912a388db8cd83c062766ac3a5d89"/><file name="logo_email.gif" hash="773ca21465d08684ea7db8bf49d30a36"/><file name="logo_print.gif" hash="5e0912a388db8cd83c062766ac3a5d89"/><dir name="media"><file name="col_left_callout.jpg" hash="5f762006021e046f9bd536f37ea7c463"/><file name="col_right_callout.jpg" hash="dae22f37a542da272a35195ec286ec25"/><file name="homepage_banner_1.jpg" hash="267b2827f3db118d99f7a623ee02ad8f"/><file name="homepage_banner_1@2x.jpg" hash="3baa6702111d6f5f5dd40d96f148fc60"/><file name="homepage_banner_2.jpg" hash="67f70cfb1690b5de6e185769fb55cd28"/><file name="homepage_callout_1.jpg" hash="4b8451e4e99e87b6c60a015f659d32b6"/><file name="homepage_callout_1@2x.jpg" hash="fb5e215f6cb623abf6f0365b5de1541d"/><file name="homepage_callout_2.jpg" hash="057ab6200f6ea05d4a6793969c5edac3"/><file name="homepage_callout_2@2x.jpg" hash="e923c6323d22235876fe61a9c5588c85"/><file name="homepage_callout_3.jpg" hash="b2cf1e73e87b3330df17425044d22f52"/><file name="homepage_callout_3@2x.jpg" hash="8b98dee63a61608b09c26bd60acea65e"/></dir><file name="opc-ajax-loader.gif" hash="f48ee069890b16455c3ddcacee9b5f75"/><file name="social_icons.png" hash="a6d0bdaea0ca0f507bd36628a6ad31a2"/><file name="social_icons@2x.png" hash="531cc696a7b949dbc8121809c1bb4d46"/></dir><dir name="js"><file name="app.js" hash="80cb5f281145387569182e9c8c0148e2"/><dir name="configurableswatches"><file name="product-media.js" hash="c1e0ccd3d16e6008f808b27b83de5fed"/><file name="swatches-list.js" hash="b37c9bad3124b287f7ee1655c1cdaabc"/><file name="swatches-product.js" hash="43564b12f299c45f99e5878a29015d46"/></dir><dir name="lib"><dir name="elevatezoom"><file name="jquery.elevateZoom-3.0.8.min.js" hash="b8c320b245bda0ee6d6a05b1c5551a58"/><file name="jquery.elevatezoom.js" hash="85bed439e504fad4c0e631146d7a75ba"/></dir><file name="enquire.js" hash="17df503d3abac5be0bec038e4b133de1"/><file name="fastclick.js" hash="8613ebaa39dc59362c2a4b69b8669d05"/><file name="imagesloaded.js" hash="82bdcdaa438659d4cb966ab112b162f4"/><file name="jquery.cycle2.min.js" hash="eb609c79b0c3f4d32ee1ba625e4fb52e"/><file name="jquery.cycle2.swipe.min.js" hash="a1310de18f5cbbf2c91cfd2fad7e19a0"/><file name="matchMedia.addListener.js" hash="6f47448212550bd3157c4265e3ebf085"/><file name="matchMedia.js" hash="89f369588d629240d6a8d4f8788490c8"/><file name="modernizr.custom.min.js" hash="6b30635dd7d7297419bce69b3a0808e7"/><file name="selectivizr.js" hash="76618ffd6e448c796f0d2422c57a6658"/></dir><file name="minicart.js" hash="729f136fe0cc8b3f1f174ee8fe968ffc"/><file name="msrp_rwd.js" hash="522d9833cd59b12761f9b4bfebd8ffd8"/><file name="opcheckout_rwd.js" hash="ee9f07a500f77534151ed1fcdf22600a"/><file name="slideshow.js" hash="07c6e1868c032f619ea606238bc7be7b"/></dir><dir name="scss"><file name="_core.scss" hash="33d1ddbb0668de9f7b9bf2eb1cd6ecbe"/><file name="_framework.scss" hash="93384e56ec50458f4f923ce7470cd6da"/><file name="_var.scss" hash="4d628304b30a3bd438bed96c31423c84"/><file name="config.rb" hash="5f50b4dc5eefbab9e22abdfb80f4d689"/><dir name="content"><file name="_category.scss" hash="f0edffea71dd3847b7b94ceab445a419"/><file name="_home.scss" hash="cb069d92990f68195496e2196f40d7c6"/></dir><dir name="core"><file name="_common.scss" hash="0a283f726c2a82c23163b6db42c958f5"/><file name="_form.scss" hash="e6c3eb23683b0a737c2513dc8790c263"/><file name="_reset.scss" hash="b2b82e7607eeb6e4c2761af26998f70f"/><file name="_table.scss" hash="12af297e33bc3943ebd57cb5acccb769"/></dir><file name="email-inline.scss" hash="55b21d3b6b30e90f6148b667336efc97"/><file name="email-non-inline.scss" hash="0278ac71fa72897b2434dfe387346c7d"/><dir name="function"><file name="_black.scss" hash="1c76b0960588dda7082bf8e90c5ae946"/><file name="_white.scss" hash="cd297ba874f0efb0e776a2cdaba27213"/></dir><dir name="layout"><file name="_footer.scss" hash="b16e711775d33e1c753f470f74dc2495"/><file name="_global.scss" hash="ab3ad4b705a8f8fb2d37c75d0129de8e"/><file name="_header-account.scss" hash="7e6c4f5a3848f93d9f733699ad2aa0a5"/><file name="_header-cart.scss" hash="40dcd13de05a03f2af1cc054f0dc198a"/><file name="_header-nav.scss" hash="a3767ac5021509e9c2abad16728f7c7d"/><file name="_header-search.scss" hash="dee0e05bd8eeccccb82cb260395557b1"/><file name="_header.scss" hash="a9871115e90dd882e840143087cfbf90"/></dir><file name="madisonisland-ie8.scss" hash="f592668f4e5d0b7817927dbce29f59d0"/><file name="madisonisland.scss" hash="fff1e636e9aa537e38ee89f3aecf29ba"/><dir name="mixin"><file name="_breakpoint.scss" hash="fdafdfed66af713c891f4c63a19eb703"/><file name="_clearfix.scss" hash="e2ddff1360f86e7dea20567d2b7eabff"/><file name="_if-resolution.scss" hash="327ba5d3214615af09323f59a82309c1"/><file name="_image-replacement.scss" hash="030cc950644942af58d69f05a32f6010"/><file name="_loading-overlay.scss" hash="37a9fe433f024aa5cd540ab756255c48"/><file name="_menu.scss" hash="6bd0c90f14454c4868aadb3cf99119f3"/><file name="_not-selectable.scss" hash="4fc9a1f911fbbc32f5391b61d1b8894d"/><file name="_toggle-content.scss" hash="7ffb3f9e8536fc247be883ad25a08424"/><file name="_triangle.scss" hash="c09dc7c6deaa960a812d8604378035ad"/><file name="_typography.scss" hash="988e2bca5e21b62286cf1c1de667a69e"/></dir><dir name="module"><file name="_account-orders.scss" hash="6bd66d03a0c9055473d01db7a9ec523c"/><file name="_account-reviews.scss" hash="22c3cc8b756a2a9c77814019b528287b"/><file name="_billing-agreements.scss" hash="8d50942ef9e35fc8b8cb7b9f90dfc38f"/><file name="_captcha.scss" hash="28afb6c895324ddd5305e18a2a21245e"/><file name="_catalog-compare.scss" hash="b41c9204621990bc713dbb3f0b1c7e22"/><file name="_catalog-msrp.scss" hash="672b862d5e7ac9f5a38452996b3814d6"/><file name="_catalog-product.scss" hash="32acd412e3d128ef2016e0d3f1fc6ab4"/><file name="_checkout-cart-minicart.scss" hash="975b06d25307f2aa098800dbb5e496c0"/><file name="_checkout-cart.scss" hash="90fab2862180b230593e9d0913a6e76b"/><file name="_checkout-multi-address.scss" hash="5c92ba1a98308bd1519fda64d41f5f96"/><file name="_checkout-onepage.scss" hash="4006706f090fba1be2860c7ba1240c0b"/><file name="_checkout-success.scss" hash="e655584eccd68b5c89709c11a3b2a8cc"/><file name="_cms.scss" hash="067fe620286a462b2aab846f558bf851"/><file name="_configurableswatches.scss" hash="c91fe98658d9f561cfac111bd0b1d683"/><file name="_contacts.scss" hash="75b142892e52957d9d4842316e858fdc"/><file name="_cookies.scss" hash="40e322d8f98c68b44e85cfffad1d0845"/><file name="_customer.scss" hash="be23803496f69f089ac4e7defd2eeb9f"/><file name="_paypal.scss" hash="c41daf0e6277ea9fa8e55c08e2734a9c"/><file name="_popular-terms.scss" hash="c70880f760a46f4252fa2e05488669df"/><file name="_pricing_conditions.scss" hash="2fa2251c64c4de02436204e62a74b40b"/><file name="_product-list.scss" hash="07444dc99f8a40cec83f85c0412da2a5"/><file name="_recurring-profiles.scss" hash="ccefe9fa4101415eefa0c322a4751b8c"/><file name="_review.scss" hash="b921881b074f3e9f7c81e13c9268bdc1"/><file name="_search.scss" hash="f97c0831c06a72bbeaecf81e9f6428c1"/><file name="_slideshow.scss" hash="d14c8fdd53240ea4a4a89ba110942e84"/><file name="_tags.scss" hash="7ab90ca04dbb470d088fc13863bd6853"/><file name="_widget.scss" hash="6b598b6b1c95b7a3683afa5a52b339a0"/><file name="_wishlist.scss" hash="b2f2e9590bfe87777249ff70dba29dd6"/></dir><dir name="override"><file name="_plugin.scss" hash="5f8731aac694962ee07241bd70919966"/></dir><file name="scaffold-forms.scss" hash="06a7f258ffcb44f8799525400e42418e"/><file name="styles-ie8.scss" hash="2a64adffc8750b813caf25277bca2100"/><file name="styles.scss" hash="ceb1092bb069ed28d4fcd40a6cb7f4be"/><dir name="vendor"><file name="_normalize.scss" hash="f09b3df11470f1261a26bfe1b5a830ff"/></dir><file name=".htaccess" hash="72617d60821288133a367f70bf39ad93"/></dir></dir></dir></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
-
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.9.2.
|
| 18 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Interface_Frontend_Rwd_Default</name>
|
| 4 |
+
<version>1.9.2.1</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/afl-3.0.php">AFL v3.0</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>This is a RWD themes base</summary>
|
| 10 |
<description>This is a RWD themes base</description>
|
| 11 |
+
<notes>1.9.2.1</notes>
|
| 12 |
<authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
|
| 13 |
+
<date>2015-07-29</date>
|
| 14 |
+
<time>12:36:10</time>
|
| 15 |
+
<contents><target name="magedesign"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="etc"><file name="theme.xml" hash="d00dd83bac2155a76a9f004ceeba2aa7"/><file name="widget.xml" hash="b26f0daa5ea35fae7def54e530e4fc6a"/></dir><dir name="layout"><file name="bundle.xml" hash="d4d6fd3d43bab191589be5dc04de3af9"/><file name="catalog.xml" hash="cf56a0853b8a4672c340074d6ce7d4ec"/><file name="catalog_msrp.xml" hash="761904c9772b9f9f87d168eaa5a3f35e"/><file name="catalogsearch.xml" hash="7577994c03f6e57aa50a2f9b9608fd06"/><file name="checkout.xml" hash="7a3227db21193c1f7abc1a293ee89637"/><file name="cms.xml" hash="ab13bce455c0ebdc6b7ac66973cca084"/><file name="configurableswatches.xml" hash="da5a91b2cd46e37c18f0ce23b5668d5d"/><file name="contacts.xml" hash="0feca543b963f4643b33ddff9d012287"/><file name="customer.xml" hash="becba768ba7cf0aa2f2133d77734c97c"/><file name="directory.xml" hash="116dba3caebbb645f4a4740d6203a809"/><file name="downloadable.xml" hash="dc03bfb05c6ad52ba2cfa26fc05ef80a"/><file name="newsletter.xml" hash="36464d3b9d5627a97d53cf9b5bb59038"/><file name="oauth.xml" hash="7ecd522b4625a53bd29c36f7b6708be2"/><file name="page.xml" hash="970456dbe2ff4ef2d351f6f1420bbd6a"/><file name="paypal.xml" hash="71611cd614aa622c50809659fc141b24"/><file name="persistent.xml" hash="668e57da0f663acb02b36605aecde881"/><file name="review.xml" hash="e44ec617f8ad50a03ba61ab3a7f1a838"/><file name="rss.xml" hash="a96fc7aa525d5ee33ad417826cec2658"/><file name="sales.xml" hash="c9910bae1a47eb29eb1bbf3e0b720678"/><file name="wishlist.xml" hash="868da261c6eb64da2e3adeca3a390b28"/></dir><dir name="template"><dir name="authorizenet"><dir name="directpost"><file name="form.phtml" hash="50ae88ef4535a9ca0e8e46799288f413"/></dir></dir><dir name="bundle"><dir name="catalog"><dir name="product"><dir name="view"><dir name="type"><dir name="bundle"><file name="availability.phtml" hash="39f9ec1e37f2d2d838596dd2892b1005"/><dir name="option"><file name="select.phtml" hash="3f51c006c554b18cc60f6229461cad5e"/></dir></dir><file name="bundle.phtml" hash="0abf2442f49382f83dd62c31073e9040"/></dir></dir></dir></dir><dir name="email"><dir name="order"><dir name="items"><dir name="creditmemo"><file name="default.phtml" hash="ab0adcbb666002cc70acdf6ac7021a12"/></dir><dir name="invoice"><file name="default.phtml" hash="d6c0ebeec5e10ffbc506763491b66845"/></dir><dir name="order"><file name="default.phtml" hash="abde26e36f098e3ce5108c5cc80bd254"/></dir><dir name="shipment"><file name="default.phtml" hash="b9c8dc719be1a634e0f448e6b4b47901"/></dir></dir></dir></dir><dir name="sales"><dir name="order"><dir name="items"><file name="renderer.phtml" hash="a8e80c1633e3ee32a8c9168c9d9e8383"/></dir></dir></dir></dir><dir name="captcha"><file name="zend.phtml" hash="872875bf33960b1a1e9ba6859f46600f"/></dir><dir name="catalog"><dir name="layer"><file name="filter.phtml" hash="a44247deec06eb5911f3df6d843d956b"/><file name="state.phtml" hash="eda8e9eb4f713c9da03ba0a54a25212a"/><file name="view.phtml" hash="2ca8dd0e3f146585d07e6b382e8a4eee"/></dir><dir name="msrp"><file name="popup.phtml" hash="31f2008ce2ea58e81e8414645f0ede64"/></dir><dir name="navigation"><file name="left.phtml" hash="bfb71cd13382c16524db2b0d0eab7185"/></dir><dir name="product"><dir name="compare"><file name="list.phtml" hash="5b808fbf9a8bddb979febcfe2609da94"/><file name="sidebar.phtml" hash="62145a39f96743f5785b3627547dc9f7"/></dir><dir name="list"><file name="related.phtml" hash="0d70beffbe11222b2c1c2183ba56b63c"/><file name="toolbar.phtml" hash="c6a3942f398c592827bbbdbb0690a01b"/><file name="upsell.phtml" hash="450003d58ff096dc379ab9793b98c9dd"/></dir><file name="list.phtml" hash="634564c3159f865577a09d34ee0ca5e3"/><file name="price.phtml" hash="ca4e9a03d5ecdac3d35196e4aee7380c"/><dir name="view"><file name="addto.phtml" hash="4b275d89973855e5a3a6088e276f43f8"/><file name="addtocart.phtml" hash="6fa2ea19134bd838dd5bd7c6de9e6843"/><file name="media.phtml" hash="51aa2d8c08d1be4ad9f979a0730bbbb9"/><file name="sharing.phtml" hash="7b9fb533933a5de636bbfa625e25369a"/><dir name="type"><dir name="availability"><file name="default.phtml" hash="4e0b08dad4bb489e8c124308cc56dd4e"/><file name="grouped.phtml" hash="7582181a90bdfb695d816fe895ed399b"/></dir><file name="default.phtml" hash="ca7f231b33e607ffe8f2f6dd4bd96948"/><file name="grouped.phtml" hash="36501822168e99019f702312a293d7ee"/><dir name="options"><file name="configurable.phtml" hash="71811dffa6131fbb179bc06ac1f6e3f6"/></dir></dir></dir><file name="view.phtml" hash="a7f35b24e370ab77185164cdde16c259"/><dir name="widget"><dir name="new"><dir name="column"><file name="new_default_list.phtml" hash="8461c192eab496f4cc024946ea4a5b18"/><file name="new_images_list.phtml" hash="cbcb98d6ad1982d3fd6bb8004f0ef1c1"/><file name="new_names_list.phtml" hash="9cae45c356c126e715273b3a9dd5708c"/></dir><dir name="content"><file name="new_grid.phtml" hash="1215c91de68cb635ee0228e2be9160da"/><file name="new_list.phtml" hash="7317df9d1635324f4aa66bf390524ed6"/></dir></dir></dir></dir></dir><dir name="cataloginventory"><dir name="stockqty"><file name="composite.phtml" hash="778855bedbe85cc965ce4a025ced04ea"/></dir></dir><dir name="catalogsearch"><dir name="advanced"><file name="form.phtml" hash="49a326d7a04cd24f76c089a571f227f7"/></dir><file name="form.mini.phtml" hash="936f335929a1c1f3bb8d20ea274cf9be"/><file name="result.phtml" hash="ea8f7555b6ff6c7af0bdcffec55d0027"/></dir><dir name="centinel"><dir name="authentication"><file name="start.phtml" hash="fe6c94ec3c92840a58b319d5038ca0d9"/></dir></dir><dir name="checkout"><dir name="cart"><file name="coupon.phtml" hash="8893925e57b7d01c0c3b1cbe46965f2f"/><file name="crosssell.phtml" hash="b9253440450cdb8609871a0d23bf3074"/><dir name="item"><dir name="configure"><file name="updatecart.phtml" hash="00a773bf6b7d550cecbcb4afd5f84b7c"/></dir><file name="default.phtml" hash="581d3d31fef83f660942431922293aff"/></dir><dir name="minicart"><file name="default.phtml" hash="4892d89135eda067ecd9d0a6efdcf89f"/><file name="items.phtml" hash="1547e9d22a2f871b28f265d0a3305876"/></dir><file name="minicart.phtml" hash="c160af1af285428f466bdb1cd46ac13e"/><dir name="render"><file name="default.phtml" hash="5c1c460c6c632c5c351e7901427fffe4"/><file name="simple.phtml" hash="025e6bbb36e41df2128c1c95b36ba231"/></dir><file name="shipping.phtml" hash="3080bd1504cae62262062058863e1838"/><dir name="sidebar"><file name="default.phtml" hash="7cda83cea687b899318a3b4133c62408"/></dir><file name="sidebar.phtml" hash="390436e51cacfa0ccce28544765f0962"/></dir><file name="cart.phtml" hash="c625c2d94711e014615486b7607b6e45"/><dir name="multishipping"><file name="addresses.phtml" hash="be9c2953dbab472373de481c8e8b65d4"/><file name="billing.phtml" hash="aa92a53b4c541317b9e6815f5b8a1f28"/><dir name="item"><file name="default.phtml" hash="243e0e6b950f06db8c9c1f7d1ef24590"/></dir><dir name="overview"><file name="item.phtml" hash="9318047ee9189440d7dc1f7a0ca2d917"/></dir><file name="overview.phtml" hash="eaa4630ae9f0bafe9f102e6b1d19eb95"/></dir><dir name="onepage"><file name="payment.phtml" hash="96265c46bb4a202561fbd269636a663c"/><file name="progress.phtml" hash="7445ce55ebe83156bfdf1180bc35fedd"/><dir name="review"><file name="info.phtml" hash="a515a973ebc0181a14d45a3cbe2c2fc9"/><file name="item.phtml" hash="b88883933d696481306734390dceee02"/></dir><file name="shipping.phtml" hash="d4136b9aa6094edd4bac70fbaac89f25"/></dir><file name="onepage.phtml" hash="e3a4b58790c9f9802aff1f7896bd9c72"/></dir><dir name="configurableswatches"><dir name="catalog"><dir name="layer"><dir name="filter"><file name="swatches.phtml" hash="fe55df1df2f30b2e3ebac87bf8c0dbdc"/></dir><dir name="state"><file name="swatch.phtml" hash="fb11cbae1f603017c4e85a8692ec9752"/></dir></dir><dir name="media"><file name="js.phtml" hash="f7269d9211f654f608195c8f1ce891b2"/></dir><dir name="product"><dir name="list"><file name="swatches.phtml" hash="e41711ec411e3be7a29caaf62ac9129c"/></dir><dir name="view"><dir name="type"><dir name="configurable"><file name="swatch-js.phtml" hash="60914817ac4db7f54acb875efb106e4f"/></dir><dir name="options"><dir name="configurable"><file name="swatches.phtml" hash="c8d44e23f337facd225649dc17cf038a"/></dir></dir></dir></dir></dir></dir></dir><dir name="contacts"><file name="form.phtml" hash="2c42bb9ff229dfbd556f5e333982e825"/></dir><dir name="customer"><dir name="account"><dir name="dashboard"><file name="address.phtml" hash="42c81b3a4844d65fcaf5622ce03a5109"/></dir><file name="dashboard.phtml" hash="1330c69eb0c5ba4433943a288e9407a0"/><file name="navigation.phtml" hash="dcec943b87e531c7b1a347ce9965ff45"/></dir><dir name="address"><file name="edit.phtml" hash="ecd1ccd67442bf76df64952d8f8c93ee"/></dir><dir name="form"><file name="address.phtml" hash="3346cebdea9573ce3a5f500e8b6004a5"/><file name="changepassword.phtml" hash="8175021062d265051b59bf5622aba31f"/><file name="confirmation.phtml" hash="6cca7f19f7001e20a1128c633cfa1105"/><file name="edit.phtml" hash="34c2e0a0992d4353fb513b573e97dd4e"/><file name="forgotpassword.phtml" hash="adab27b320754d03d6db2517db9e3c86"/><file name="mini.login.phtml" hash="953db146a0c5a8f668b5b5d1be61f648"/><file name="resetforgottenpassword.phtml" hash="88b81a7972ae049b3fddd990507c6cb6"/></dir></dir><dir name="directory"><file name="currency.phtml" hash="39bcea13a67e2503b89cf8605c5f9383"/></dir><dir name="downloadable"><dir name="catalog"><dir name="product"><file name="type.phtml" hash="4f2f1cc4380dd935ef53c07ce9ebe11e"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="235ba1ef53629e6e0c860c822f009d73"/></dir></dir><dir name="onepage"><dir name="review"><file name="item.phtml" hash="12cb20296cf903662af327800da0ae24"/></dir></dir></dir><dir name="customer"><dir name="products"><file name="list.phtml" hash="4e4c835a56504ad68b8591ef61797744"/></dir></dir><dir name="email"><dir name="order"><dir name="items"><dir name="creditmemo"><file name="downloadable.phtml" hash="2bb7a54f7002427442d81ed57b5ad6b1"/></dir><dir name="invoice"><file name="downloadable.phtml" hash="8c6077b5646124943b74fa7c4ba7f848"/></dir><dir name="order"><file name="downloadable.phtml" hash="b9d771d574dfebd99a24c2336f8285d7"/></dir></dir></dir></dir><dir name="sales"><dir name="order"><dir name="items"><dir name="renderer"><file name="downloadable.phtml" hash="8b9ea75c91389c6cd847ab0ecf4c5bf8"/></dir></dir></dir></dir></dir><dir name="email"><dir name="catalog"><dir name="product"><file name="list.phtml" hash="5f80ecea7ccdcf068e45303a6dcebf72"/><file name="new.phtml" hash="3e967ea93be598baaada7a78507b1434"/></dir></dir><dir name="order"><dir name="creditmemo"><file name="items.phtml" hash="f79cb5ed65ce3927b1d323479b879418"/></dir><dir name="invoice"><file name="items.phtml" hash="d4a446c25eda630196fa52072599722b"/></dir><dir name="items"><dir name="creditmemo"><file name="default.phtml" hash="917301b99bb27e5495f436b91fc16ccc"/></dir><dir name="invoice"><file name="default.phtml" hash="917301b99bb27e5495f436b91fc16ccc"/></dir><dir name="order"><file name="default.phtml" hash="a883309f060bfdef5aa07a74a620032b"/></dir><dir name="shipment"><file name="default.phtml" hash="9ee4f1a8b3662422eb05ec592e105af2"/></dir></dir><file name="items.phtml" hash="3f43664a56eccd336ae9f93644a9d889"/><dir name="shipment"><file name="items.phtml" hash="fda23599e3bcf1f3538cb74e7acfa1c4"/><file name="track.phtml" hash="3d06d28e690ad0997090b2a422080a8c"/></dir><dir name="totals"><file name="wrapper.phtml" hash="0559a432acd7beda44e5b227bff41211"/></dir></dir><dir name="productalert"><file name="price.phtml" hash="007c4d6639335482e7082da23a527cb5"/><file name="stock.phtml" hash="1d5a4e6e3c2cbbdd4f54512c85547db5"/></dir></dir><dir name="newsletter"><file name="subscribe.phtml" hash="3a993dd52f34d23aa9e58d360971a309"/></dir><dir name="oauth"><dir name="authorize"><dir name="form"><file name="login-simple.phtml" hash="f9c0fb94aba9700cb862f0248baec9a1"/></dir></dir></dir><dir name="page"><file name="1column.phtml" hash="0217d29c5ce30c4241b956f4bfcfe089"/><file name="2columns-left.phtml" hash="bebed06fd537e396f05ebbc0e4291d36"/><file name="2columns-right.phtml" hash="a1c08bc7d7fbb9d00988bb9ecdaa85e1"/><file name="3columns.phtml" hash="6f971e2518978701bdf7ad1bb799ace3"/><file name="empty.phtml" hash="f420bff4c02fa84f98d2c1ce09dce4ff"/><dir name="html"><file name="footer.phtml" hash="4a3efd641403e108261b3b6b81cd71fc"/><file name="header.phtml" hash="115ecf5a9042ffcce1536fb10df32914"/><file name="pager.phtml" hash="e16cd50199a2d91c48fbf72ae22600cc"/><dir name="topmenu"><file name="renderer.phtml" hash="7cee75df8e011107ff49117324a2e833"/></dir><file name="topmenu.phtml" hash="5a3237e12cb48e9b77206485f9e46499"/></dir><file name="popup.phtml" hash="807903de3c55861253a6e7a941c246eb"/><file name="print.phtml" hash="f292ecc352173d579d449794a379dc5d"/><dir name="template"><file name="links.phtml" hash="1f8ed0b51c26baf0cc51f864283816c5"/></dir></dir><dir name="payment"><dir name="form"><file name="cc.phtml" hash="a80f418e2c5fce9cc6b758d9d03c195f"/><file name="ccsave.phtml" hash="d7b2ee5a098f61419e8ab7b423d07be7"/></dir><dir name="info"><file name="default.phtml" hash="182a8a5c7ae90f701da3d26959ae88a5"/></dir></dir><dir name="paypal"><file name="bml.phtml" hash="d4bd3e63c77ebec817c9958a7b66c143"/><dir name="express"><dir name="minicart"><file name="shortcut.phtml" hash="821f849045dbd9158c117fd69b9295bd"/></dir><dir name="product"><file name="shortcut.phtml" hash="3cdd24f3af46ef4760ca20885f077d0a"/></dir><dir name="review"><file name="address.phtml" hash="4f2f7b2cdfeb4e3e8f4c9de45e10c03d"/><file name="details.phtml" hash="559a732d462bfb741d03ec05c043d50e"/><dir name="shipping"><file name="method.phtml" hash="a1a0836340cae4530e9d035dfec315da"/></dir></dir><file name="review.phtml" hash="abbb96284c22d9c451500333bc9abc98"/></dir><dir name="partner"><file name="us_logo.phtml" hash="2c3eccffd8d1d79f40679cbf4efd85ed"/></dir></dir><dir name="persistent"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="85aa6cfa48f500ff3e54beaf27c2fadf"/><file name="login.phtml" hash="634989681520d255b70f738acca3546a"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="44f01752af72cceb3bf5fff3a5a23cba"/><file name="register.phtml" hash="d4b2d37e7672f7f7d31271fa36c9be85"/></dir></dir><dir name="header"><file name="links.phtml" hash="eb1a3675863fd60601a83ba37aba1a94"/></dir><file name="remember_me.phtml" hash="ecb29a132a145258c5ccf8303fbf7825"/><file name="remember_me_tooltip.phtml" hash="c410dcf15883faca8c1fda017586378e"/></dir><dir name="rating"><file name="detailed.phtml" hash="ac029753c6ad21473faa8f7f1e6464e7"/></dir><dir name="reports"><file name="product_viewed.phtml" hash="868f17fe24d87fce8fc6281c65fa6825"/><dir name="widget"><dir name="compared"><dir name="column"><file name="compared_default_list.phtml" hash="98b5a02b4d0e9f24e2128199b7ff8ac9"/><file name="compared_images_list.phtml" hash="b8018d02e1c808983b9da2fcedbf380b"/><file name="compared_names_list.phtml" hash="4b3cc7169338ceb224b3bf134767d506"/></dir><dir name="content"><file name="compared_grid.phtml" hash="bcad46bcab98be82e219362621e37491"/><file name="compared_list.phtml" hash="6d748da0752c62ccbda731d294ce5065"/></dir></dir><dir name="viewed"><dir name="column"><file name="viewed_default_list.phtml" hash="211165fdd25df6912981d4b9abef97d2"/><file name="viewed_images_list.phtml" hash="48fdb9f1cb78cd28f30815abd9e8901a"/><file name="viewed_names_list.phtml" hash="5337debf0ddc6b5fec96cdfa543f1747"/></dir><dir name="content"><file name="viewed_grid.phtml" hash="e8e30d08f535a1d630a10c2f3d348108"/><file name="viewed_list.phtml" hash="446121c899bfd198eebc4c65f978ddbd"/></dir></dir></dir></dir><dir name="review"><dir name="customer"><file name="view.phtml" hash="f05a86c29f6b998382d09f152632fc2b"/></dir><file name="form.phtml" hash="bc2a3a251a83fe521e7706dc2bcf32b5"/><dir name="product"><dir name="view"><file name="list.phtml" hash="34948e48ae602004e2869de139a22a2a"/></dir></dir><file name="view.phtml" hash="ec56bfd82035e90ce84f5de9b647cca3"/></dir><dir name="sales"><dir name="billing"><dir name="agreement"><file name="view.phtml" hash="1b92ce064e12147b17080fc5c2db3ae1"/></dir><file name="agreements.phtml" hash="9dff256daa8f0ba30e609c2eebe06efd"/></dir><dir name="order"><dir name="creditmemo"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="56630660fd5dfcad091a1e3bf7f34b36"/></dir></dir><file name="items.phtml" hash="a89d7a81766c904c8068e82969f3aa34"/></dir><file name="history.phtml" hash="84ac8f3748940b8efaae73fade8dd243"/><dir name="invoice"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="a96b98f4bac113c8d974e91d8a68f161"/></dir></dir><file name="items.phtml" hash="33f6ad17b6418fc29ad8b45b7f8254f1"/></dir><dir name="items"><dir name="renderer"><file name="default.phtml" hash="cdc2fa9fa75773fc214a1cf1b523a973"/></dir></dir><file name="items.phtml" hash="c8beda8f74c01263549ea2706934f8bb"/><file name="recent.phtml" hash="f17054de57e8c74cffbec8a7381fe004"/><dir name="shipment"><file name="items.phtml" hash="cf419a6963ec9e9c92bcc1f04011457c"/></dir></dir><dir name="recurring"><file name="grid.phtml" hash="ac0d5f5d757ed8abbfe94e9fc2f18124"/><dir name="profile"><file name="view.phtml" hash="ae06af716d2c48860db09000224e8f71"/></dir></dir><dir name="widget"><dir name="guest"><file name="form.phtml" hash="d08e046a18b17a628f46551053ced887"/></dir></dir></dir><dir name="sendfriend"><file name="send.phtml" hash="2849cb83f45985ff5e7564fa591c501a"/></dir><dir name="wishlist"><dir name="button"><file name="update.phtml" hash="6e887fadfcecb6f5a3f4a8c999bc3634"/></dir><dir name="item"><dir name="column"><file name="cart.phtml" hash="1715f0d797d0d5d3d26198dd347e302d"/><file name="info.phtml" hash="e48e55fa0fbced5b309f7f5f5b3f221b"/><file name="price.phtml" hash="1c1645d8ad629b068294d905dcaee448"/><file name="quantity.phtml" hash="906589e5f6d83daf6b7ab60633d980e2"/></dir><file name="list.phtml" hash="face9e02ba146978704797f270d4c836"/></dir><file name="shared.phtml" hash="5144c2fa4d5dc1a9df7f15513d4a461b"/><file name="sidebar.phtml" hash="f0f180ae9f831b0f47a9478ac2c41c3b"/><file name="view.phtml" hash="d2306e1331e6adc8cf54969e54f28fef"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="css"><file name="madisonisland-ie8.css" hash="d5f47a4cd003ceceb5371e3837a50212"/><file name="madisonisland.css" hash="6edb2c3d3ef856ec1362d176410ec37b"/><file name="scaffold-forms.css" hash="b6e3ea01988f54815d2275047b5d29d5"/><file name="styles-ie8.css" hash="5694f9525cb155389fe91691560548e4"/><file name="styles.css" hash="56e58f0200cefa3c2146841a2d886096"/></dir><dir name="images"><file name="ajax-loader.gif" hash="f48ee069890b16455c3ddcacee9b5f75"/><file name="bg_x.png" hash="c321c67f6929326129426c9e83207ea3"/><file name="demo-logo.png" hash="c6f4b110e5379547e71d367479f0f945"/><file name="demo_logo.png" hash="7694461c41abb69ca60c086c69e312cc"/><file name="icon_sprite.png" hash="e15f0103ef5ebe3baf48960bb9ccfaab"/><file name="icon_sprite@2x.png" hash="2e9c31d760a33d9f27951210f8311341"/><file name="logo.gif" hash="5e0912a388db8cd83c062766ac3a5d89"/><file name="logo_email.gif" hash="773ca21465d08684ea7db8bf49d30a36"/><file name="logo_print.gif" hash="5e0912a388db8cd83c062766ac3a5d89"/><dir name="media"><file name="col_left_callout.jpg" hash="5f762006021e046f9bd536f37ea7c463"/><file name="col_right_callout.jpg" hash="dae22f37a542da272a35195ec286ec25"/><file name="homepage_banner_1.jpg" hash="267b2827f3db118d99f7a623ee02ad8f"/><file name="homepage_banner_1@2x.jpg" hash="3baa6702111d6f5f5dd40d96f148fc60"/><file name="homepage_banner_2.jpg" hash="67f70cfb1690b5de6e185769fb55cd28"/><file name="homepage_callout_1.jpg" hash="4b8451e4e99e87b6c60a015f659d32b6"/><file name="homepage_callout_1@2x.jpg" hash="fb5e215f6cb623abf6f0365b5de1541d"/><file name="homepage_callout_2.jpg" hash="057ab6200f6ea05d4a6793969c5edac3"/><file name="homepage_callout_2@2x.jpg" hash="e923c6323d22235876fe61a9c5588c85"/><file name="homepage_callout_3.jpg" hash="b2cf1e73e87b3330df17425044d22f52"/><file name="homepage_callout_3@2x.jpg" hash="8b98dee63a61608b09c26bd60acea65e"/></dir><file name="opc-ajax-loader.gif" hash="f48ee069890b16455c3ddcacee9b5f75"/><file name="social_icons.png" hash="a6d0bdaea0ca0f507bd36628a6ad31a2"/><file name="social_icons@2x.png" hash="531cc696a7b949dbc8121809c1bb4d46"/></dir><dir name="js"><file name="app.js" hash="80cb5f281145387569182e9c8c0148e2"/><dir name="configurableswatches"><file name="product-media.js" hash="c1e0ccd3d16e6008f808b27b83de5fed"/><file name="swatches-list.js" hash="b37c9bad3124b287f7ee1655c1cdaabc"/><file name="swatches-product.js" hash="43564b12f299c45f99e5878a29015d46"/></dir><dir name="lib"><dir name="elevatezoom"><file name="jquery.elevateZoom-3.0.8.min.js" hash="a18ff8649464a0c999f5d063a081da61"/><file name="jquery.elevatezoom.js" hash="76494c5afa372e08d0a8a5f4ba7e58ed"/></dir><file name="enquire.js" hash="c11ca42a1f2bf189d004f9a4f42e3ca2"/><file name="fastclick.js" hash="7f1e1673fa395e43cbdc584c8798541b"/><file name="imagesloaded.js" hash="f70def9bddf45be549ec0575645b8038"/><file name="jquery.cycle2.min.js" hash="24f809434b3e494cc7b98c6c08404b33"/><file name="jquery.cycle2.swipe.min.js" hash="15747fbd45dd1adcaf8f04a2d8a71d68"/><file name="matchMedia.addListener.js" hash="6f47448212550bd3157c4265e3ebf085"/><file name="matchMedia.js" hash="89f369588d629240d6a8d4f8788490c8"/><file name="modernizr.custom.min.js" hash="e508acbc792b5761fe98dc892a1fd952"/><file name="selectivizr.js" hash="8e596ea5ffac3cf3eb53f75a15cdc7eb"/></dir><file name="minicart.js" hash="729f136fe0cc8b3f1f174ee8fe968ffc"/><file name="msrp_rwd.js" hash="522d9833cd59b12761f9b4bfebd8ffd8"/><file name="opcheckout_rwd.js" hash="ee9f07a500f77534151ed1fcdf22600a"/><file name="slideshow.js" hash="07c6e1868c032f619ea606238bc7be7b"/></dir><dir name="scss"><file name="_core.scss" hash="33d1ddbb0668de9f7b9bf2eb1cd6ecbe"/><file name="_framework.scss" hash="93384e56ec50458f4f923ce7470cd6da"/><file name="_var.scss" hash="4d628304b30a3bd438bed96c31423c84"/><file name="config.rb" hash="5f50b4dc5eefbab9e22abdfb80f4d689"/><dir name="content"><file name="_category.scss" hash="f0edffea71dd3847b7b94ceab445a419"/><file name="_home.scss" hash="cb069d92990f68195496e2196f40d7c6"/></dir><dir name="core"><file name="_common.scss" hash="0a283f726c2a82c23163b6db42c958f5"/><file name="_form.scss" hash="e6c3eb23683b0a737c2513dc8790c263"/><file name="_reset.scss" hash="b2b82e7607eeb6e4c2761af26998f70f"/><file name="_table.scss" hash="12af297e33bc3943ebd57cb5acccb769"/></dir><file name="email-inline.scss" hash="55b21d3b6b30e90f6148b667336efc97"/><file name="email-non-inline.scss" hash="0278ac71fa72897b2434dfe387346c7d"/><dir name="function"><file name="_black.scss" hash="1c76b0960588dda7082bf8e90c5ae946"/><file name="_white.scss" hash="cd297ba874f0efb0e776a2cdaba27213"/></dir><dir name="layout"><file name="_footer.scss" hash="b16e711775d33e1c753f470f74dc2495"/><file name="_global.scss" hash="ab3ad4b705a8f8fb2d37c75d0129de8e"/><file name="_header-account.scss" hash="7e6c4f5a3848f93d9f733699ad2aa0a5"/><file name="_header-cart.scss" hash="40dcd13de05a03f2af1cc054f0dc198a"/><file name="_header-nav.scss" hash="a3767ac5021509e9c2abad16728f7c7d"/><file name="_header-search.scss" hash="dee0e05bd8eeccccb82cb260395557b1"/><file name="_header.scss" hash="a9871115e90dd882e840143087cfbf90"/></dir><file name="madisonisland-ie8.scss" hash="f592668f4e5d0b7817927dbce29f59d0"/><file name="madisonisland.scss" hash="fff1e636e9aa537e38ee89f3aecf29ba"/><dir name="mixin"><file name="_breakpoint.scss" hash="fdafdfed66af713c891f4c63a19eb703"/><file name="_clearfix.scss" hash="e2ddff1360f86e7dea20567d2b7eabff"/><file name="_if-resolution.scss" hash="327ba5d3214615af09323f59a82309c1"/><file name="_image-replacement.scss" hash="030cc950644942af58d69f05a32f6010"/><file name="_loading-overlay.scss" hash="37a9fe433f024aa5cd540ab756255c48"/><file name="_menu.scss" hash="6bd0c90f14454c4868aadb3cf99119f3"/><file name="_not-selectable.scss" hash="4fc9a1f911fbbc32f5391b61d1b8894d"/><file name="_toggle-content.scss" hash="7ffb3f9e8536fc247be883ad25a08424"/><file name="_triangle.scss" hash="c09dc7c6deaa960a812d8604378035ad"/><file name="_typography.scss" hash="988e2bca5e21b62286cf1c1de667a69e"/></dir><dir name="module"><file name="_account-orders.scss" hash="6bd66d03a0c9055473d01db7a9ec523c"/><file name="_account-reviews.scss" hash="22c3cc8b756a2a9c77814019b528287b"/><file name="_billing-agreements.scss" hash="8d50942ef9e35fc8b8cb7b9f90dfc38f"/><file name="_captcha.scss" hash="28afb6c895324ddd5305e18a2a21245e"/><file name="_catalog-compare.scss" hash="b41c9204621990bc713dbb3f0b1c7e22"/><file name="_catalog-msrp.scss" hash="672b862d5e7ac9f5a38452996b3814d6"/><file name="_catalog-product.scss" hash="32acd412e3d128ef2016e0d3f1fc6ab4"/><file name="_checkout-cart-minicart.scss" hash="975b06d25307f2aa098800dbb5e496c0"/><file name="_checkout-cart.scss" hash="90fab2862180b230593e9d0913a6e76b"/><file name="_checkout-multi-address.scss" hash="5c92ba1a98308bd1519fda64d41f5f96"/><file name="_checkout-onepage.scss" hash="4006706f090fba1be2860c7ba1240c0b"/><file name="_checkout-success.scss" hash="e655584eccd68b5c89709c11a3b2a8cc"/><file name="_cms.scss" hash="067fe620286a462b2aab846f558bf851"/><file name="_configurableswatches.scss" hash="c91fe98658d9f561cfac111bd0b1d683"/><file name="_contacts.scss" hash="75b142892e52957d9d4842316e858fdc"/><file name="_cookies.scss" hash="40e322d8f98c68b44e85cfffad1d0845"/><file name="_customer.scss" hash="be23803496f69f089ac4e7defd2eeb9f"/><file name="_paypal.scss" hash="c41daf0e6277ea9fa8e55c08e2734a9c"/><file name="_popular-terms.scss" hash="c70880f760a46f4252fa2e05488669df"/><file name="_pricing_conditions.scss" hash="2fa2251c64c4de02436204e62a74b40b"/><file name="_product-list.scss" hash="07444dc99f8a40cec83f85c0412da2a5"/><file name="_recurring-profiles.scss" hash="ccefe9fa4101415eefa0c322a4751b8c"/><file name="_review.scss" hash="b921881b074f3e9f7c81e13c9268bdc1"/><file name="_search.scss" hash="f97c0831c06a72bbeaecf81e9f6428c1"/><file name="_slideshow.scss" hash="d14c8fdd53240ea4a4a89ba110942e84"/><file name="_tags.scss" hash="7ab90ca04dbb470d088fc13863bd6853"/><file name="_widget.scss" hash="6b598b6b1c95b7a3683afa5a52b339a0"/><file name="_wishlist.scss" hash="b2f2e9590bfe87777249ff70dba29dd6"/></dir><dir name="override"><file name="_plugin.scss" hash="5f8731aac694962ee07241bd70919966"/></dir><file name="scaffold-forms.scss" hash="06a7f258ffcb44f8799525400e42418e"/><file name="styles-ie8.scss" hash="2a64adffc8750b813caf25277bca2100"/><file name="styles.scss" hash="ceb1092bb069ed28d4fcd40a6cb7f4be"/><dir name="vendor"><file name="_normalize.scss" hash="d9edffd350bd218571fd141a9c658d29"/></dir><file name=".htaccess" hash="72617d60821288133a367f70bf39ad93"/></dir></dir></dir></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
+
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.9.2.1</min><max>1.9.2.1</max></package></required></dependencies>
|
| 18 |
</package>
|
skin/frontend/rwd/default/css/styles.css
CHANGED
|
@@ -22,6 +22,7 @@
|
|
| 22 |
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
| 23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 24 |
*/
|
|
|
|
| 25 |
/* ==========================================================================
|
| 26 |
HTML5 display definitions
|
| 27 |
========================================================================== */
|
| 22 |
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
| 23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 24 |
*/
|
| 25 |
+
/*! normalize.css v2.0.1 | MIT License | git.io/normalize */
|
| 26 |
/* ==========================================================================
|
| 27 |
HTML5 display definitions
|
| 28 |
========================================================================== */
|
skin/frontend/rwd/default/js/lib/elevatezoom/jquery.elevateZoom-3.0.8.min.js
CHANGED
|
@@ -63,4 +63,4 @@ newvalue,this.fullwidth=!1));scrcontinue=!1;"inner"==this.options.zoomType&&(thi
|
|
| 63 |
"inner"!=this.options.zoomType&&(this.changeBgSize=!0,this.zoomLens.css({width:String(this.options.zoomWindowWidth/this.widthRatio)+"px"})),"lens"==this.options.zoomType||"inner"==this.options.zoomType)&&(this.changeBgSize=!0),"inner"==this.options.zoomType&&(this.changeBgSize=!0,this.nzWidth>this.nzHeight&&(this.currentZoomLevel=this.newvaluewidth),this.nzHeight>this.nzWidth&&(this.currentZoomLevel=this.newvaluewidth)));this.setPosition(this.currentLoc)},closeAll:function(){self.zoomWindow&&self.zoomWindow.hide();
|
| 64 |
self.zoomLens&&self.zoomLens.hide();self.zoomTint&&self.zoomTint.hide()},changeState:function(b){"enable"==b&&(this.options.zoomEnabled=!0);"disable"==b&&(this.options.zoomEnabled=!1)}};d.fn.elevateZoom=function(b){return this.each(function(){var a=Object.create(k);a.init(b,this);d.data(this,"elevateZoom",a)})};d.fn.elevateZoom.options={zoomActivation:"hover",zoomEnabled:!0,preloading:1,zoomLevel:1,scrollZoom:!1,scrollZoomIncrement:0.1,minZoomLevel:!1,maxZoomLevel:!1,easing:!1,easingAmount:12,lensSize:200,
|
| 65 |
zoomWindowWidth:400,zoomWindowHeight:400,zoomWindowOffetx:0,zoomWindowOffety:0,zoomWindowPosition:1,zoomWindowBgColour:"#fff",lensFadeIn:!1,lensFadeOut:!1,debug:!1,zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowAlwaysShow:!1,zoomTintFadeIn:!1,zoomTintFadeOut:!1,borderSize:4,showLens:!0,borderColour:"#888",lensBorderSize:1,lensBorderColour:"#000",lensShape:"square",zoomType:"window",containLensZoom:!1,lensColour:"white",lensOpacity:0.4,lenszoom:!1,tint:!1,tintColour:"#333",tintOpacity:0.4,gallery:!1,
|
| 66 |
-
galleryActiveClass:"zoomGalleryActive",imageCrossfade:!1,constrainType:!1,constrainSize:!1,loadingIcon:!1,cursor:"default",responsive:!0,onComplete:d.noop,onZoomedImageLoaded:function(){},onImageSwap:d.noop,onImageSwapComplete:d.noop}})(jQuery,window,document);
|
| 63 |
"inner"!=this.options.zoomType&&(this.changeBgSize=!0,this.zoomLens.css({width:String(this.options.zoomWindowWidth/this.widthRatio)+"px"})),"lens"==this.options.zoomType||"inner"==this.options.zoomType)&&(this.changeBgSize=!0),"inner"==this.options.zoomType&&(this.changeBgSize=!0,this.nzWidth>this.nzHeight&&(this.currentZoomLevel=this.newvaluewidth),this.nzHeight>this.nzWidth&&(this.currentZoomLevel=this.newvaluewidth)));this.setPosition(this.currentLoc)},closeAll:function(){self.zoomWindow&&self.zoomWindow.hide();
|
| 64 |
self.zoomLens&&self.zoomLens.hide();self.zoomTint&&self.zoomTint.hide()},changeState:function(b){"enable"==b&&(this.options.zoomEnabled=!0);"disable"==b&&(this.options.zoomEnabled=!1)}};d.fn.elevateZoom=function(b){return this.each(function(){var a=Object.create(k);a.init(b,this);d.data(this,"elevateZoom",a)})};d.fn.elevateZoom.options={zoomActivation:"hover",zoomEnabled:!0,preloading:1,zoomLevel:1,scrollZoom:!1,scrollZoomIncrement:0.1,minZoomLevel:!1,maxZoomLevel:!1,easing:!1,easingAmount:12,lensSize:200,
|
| 65 |
zoomWindowWidth:400,zoomWindowHeight:400,zoomWindowOffetx:0,zoomWindowOffety:0,zoomWindowPosition:1,zoomWindowBgColour:"#fff",lensFadeIn:!1,lensFadeOut:!1,debug:!1,zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowAlwaysShow:!1,zoomTintFadeIn:!1,zoomTintFadeOut:!1,borderSize:4,showLens:!0,borderColour:"#888",lensBorderSize:1,lensBorderColour:"#000",lensShape:"square",zoomType:"window",containLensZoom:!1,lensColour:"white",lensOpacity:0.4,lenszoom:!1,tint:!1,tintColour:"#333",tintOpacity:0.4,gallery:!1,
|
| 66 |
+
galleryActiveClass:"zoomGalleryActive",imageCrossfade:!1,constrainType:!1,constrainSize:!1,loadingIcon:!1,cursor:"default",responsive:!0,onComplete:d.noop,onZoomedImageLoaded:function(){},onImageSwap:d.noop,onImageSwapComplete:d.noop}})(jQuery,window,document);
|
skin/frontend/rwd/default/js/lib/elevatezoom/jquery.elevatezoom.js
CHANGED
|
@@ -26,1035 +26,1035 @@
|
|
| 26 |
|
| 27 |
|
| 28 |
if ( typeof Object.create !== 'function' ) {
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
}
|
| 35 |
|
| 36 |
(function( $, window, document, undefined ) {
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
|
| 41 |
-
|
| 42 |
-
|
| 43 |
|
| 44 |
-
|
| 45 |
|
| 46 |
-
|
| 47 |
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
|
| 56 |
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
|
| 90 |
-
|
| 91 |
-
|
| 92 |
|
| 93 |
-
|
| 94 |
-
|
| 95 |
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
|
| 205 |
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
|
| 220 |
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
|
| 230 |
-
|
| 231 |
|
| 232 |
-
|
| 233 |
-
|
| 234 |
|
| 235 |
-
|
| 236 |
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
|
| 244 |
|
| 245 |
-
|
| 246 |
|
| 247 |
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
|
| 255 |
-
|
| 256 |
|
| 257 |
-
|
| 258 |
-
|
| 259 |
|
| 260 |
-
|
| 261 |
-
|
| 262 |
|
| 263 |
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
|
| 275 |
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
|
| 280 |
|
| 281 |
-
|
| 282 |
|
| 283 |
|
| 284 |
-
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
| 292 |
-
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
| 341 |
-
|
| 342 |
-
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
|
| 346 |
-
|
| 347 |
-
|
| 348 |
-
|
| 349 |
-
|
| 350 |
-
|
| 351 |
-
|
| 352 |
-
|
| 353 |
-
|
| 354 |
-
|
| 355 |
-
|
| 356 |
-
|
| 357 |
-
|
| 358 |
-
|
| 359 |
-
|
| 360 |
-
|
| 361 |
-
|
| 362 |
-
|
| 363 |
-
|
| 364 |
-
|
| 365 |
-
|
| 366 |
-
|
| 367 |
-
|
| 368 |
-
|
| 369 |
-
|
| 370 |
-
|
| 371 |
-
|
| 372 |
-
|
| 373 |
-
|
| 374 |
-
|
| 375 |
-
|
| 376 |
-
|
| 377 |
-
|
| 378 |
-
|
| 379 |
-
|
| 380 |
-
|
| 381 |
-
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
|
| 386 |
-
|
| 387 |
-
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
|
| 395 |
-
|
| 396 |
-
|
| 397 |
-
|
| 398 |
-
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
|
| 403 |
-
|
| 404 |
-
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
|
| 414 |
-
|
| 415 |
-
|
| 416 |
-
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
|
| 421 |
-
|
| 422 |
-
|
| 423 |
-
|
| 424 |
-
|
| 425 |
-
|
| 426 |
-
|
| 427 |
-
|
| 428 |
-
|
| 429 |
-
|
| 430 |
-
|
| 431 |
-
|
| 432 |
-
|
| 433 |
-
|
| 434 |
-
|
| 435 |
-
|
| 436 |
-
|
| 437 |
-
|
| 438 |
-
|
| 439 |
-
|
| 440 |
-
|
| 441 |
-
|
| 442 |
-
|
| 443 |
-
|
| 444 |
-
|
| 445 |
-
|
| 446 |
-
|
| 447 |
-
|
| 448 |
-
|
| 449 |
-
|
| 450 |
-
|
| 451 |
-
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
|
| 455 |
-
|
| 456 |
-
|
| 457 |
-
|
| 458 |
-
|
| 459 |
-
|
| 460 |
-
|
| 461 |
-
|
| 462 |
-
|
| 463 |
-
|
| 464 |
-
|
| 465 |
-
|
| 466 |
-
|
| 467 |
-
|
| 468 |
-
|
| 469 |
|
| 470 |
|
| 471 |
|
| 472 |
// var delta = parseInt(e.originalEvent.wheelDelta || -e.originalEvent.detail);
|
| 473 |
|
| 474 |
-
|
| 475 |
-
|
| 476 |
|
| 477 |
-
|
| 478 |
-
|
| 479 |
-
|
| 480 |
-
|
| 481 |
-
|
| 482 |
-
|
| 483 |
-
|
| 484 |
-
|
| 485 |
-
|
| 486 |
-
|
| 487 |
-
|
| 488 |
|
| 489 |
|
| 490 |
-
|
| 491 |
|
| 492 |
|
| 493 |
-
|
| 494 |
|
| 495 |
|
| 496 |
// in IE there is issue with firing of mouseleave - So check whether still scrolling
|
| 497 |
-
// and on mouseleave check if scrolllock
|
| 498 |
-
|
| 499 |
-
|
| 500 |
-
|
| 501 |
-
|
| 502 |
-
|
| 503 |
-
|
| 504 |
|
| 505 |
-
|
| 506 |
|
| 507 |
|
| 508 |
-
|
| 509 |
-
|
| 510 |
|
| 511 |
|
| 512 |
-
|
| 513 |
-
|
| 514 |
-
|
| 515 |
|
| 516 |
|
| 517 |
-
|
| 518 |
-
|
| 519 |
-
|
| 520 |
-
|
| 521 |
-
|
| 522 |
|
| 523 |
-
|
| 524 |
-
|
| 525 |
-
|
| 526 |
|
| 527 |
|
| 528 |
-
|
| 529 |
-
|
| 530 |
-
|
| 531 |
-
|
| 532 |
-
|
| 533 |
-
|
| 534 |
-
|
| 535 |
|
| 536 |
-
|
| 537 |
-
|
| 538 |
|
| 539 |
-
|
| 540 |
-
|
| 541 |
-
|
| 542 |
-
|
| 543 |
|
| 544 |
|
| 545 |
-
|
| 546 |
-
|
| 547 |
-
|
| 548 |
if(!self.options.zoomEnabled){return false;}
|
| 549 |
-
|
| 550 |
-
|
| 551 |
-
|
| 552 |
-
|
| 553 |
-
|
| 554 |
-
|
| 555 |
-
|
| 556 |
-
|
| 557 |
-
|
| 558 |
-
|
| 559 |
-
|
| 560 |
-
|
| 561 |
-
|
| 562 |
-
|
| 563 |
-
|
| 564 |
-
|
| 565 |
-
|
| 566 |
-
|
| 567 |
-
|
| 568 |
-
|
| 569 |
-
|
| 570 |
if(!self.options.zoomEnabled){return false;}
|
| 571 |
|
| 572 |
-
|
| 573 |
-
|
| 574 |
-
|
| 575 |
-
|
| 576 |
-
|
| 577 |
-
|
| 578 |
-
|
| 579 |
-
|
| 580 |
-
|
| 581 |
-
|
| 582 |
-
|
| 583 |
-
|
| 584 |
-
|
| 585 |
-
|
| 586 |
-
|
| 587 |
-
|
| 588 |
-
|
| 589 |
-
|
| 590 |
-
|
| 591 |
-
|
| 592 |
-
|
| 593 |
-
|
| 594 |
-
|
| 595 |
-
|
| 596 |
-
|
| 597 |
-
|
| 598 |
-
|
| 599 |
-
|
| 600 |
-
|
| 601 |
-
|
| 602 |
-
|
| 603 |
-
|
| 604 |
-
|
| 605 |
-
|
| 606 |
-
|
| 607 |
-
|
| 608 |
-
|
| 609 |
-
|
| 610 |
-
|
| 611 |
-
|
| 612 |
-
|
| 613 |
-
|
| 614 |
-
|
| 615 |
-
|
| 616 |
-
|
| 617 |
-
|
| 618 |
-
|
| 619 |
-
|
| 620 |
-
|
| 621 |
-
|
| 622 |
-
|
| 623 |
-
|
| 624 |
-
|
| 625 |
-
|
| 626 |
-
|
| 627 |
-
|
| 628 |
-
|
| 629 |
-
|
| 630 |
-
|
| 631 |
-
|
| 632 |
-
|
| 633 |
-
|
| 634 |
-
|
| 635 |
-
|
| 636 |
-
|
| 637 |
-
|
| 638 |
-
|
| 639 |
-
|
| 640 |
-
|
| 641 |
-
|
| 642 |
-
|
| 643 |
-
|
| 644 |
-
|
| 645 |
-
|
| 646 |
-
|
| 647 |
-
|
| 648 |
-
|
| 649 |
-
|
| 650 |
-
|
| 651 |
-
|
| 652 |
-
|
| 653 |
-
|
| 654 |
-
|
| 655 |
-
|
| 656 |
-
|
| 657 |
-
|
| 658 |
-
|
| 659 |
-
|
| 660 |
-
|
| 661 |
-
|
| 662 |
-
|
| 663 |
-
|
| 664 |
-
|
| 665 |
-
|
| 666 |
-
|
| 667 |
-
|
| 668 |
-
|
| 669 |
-
|
| 670 |
-
|
| 671 |
-
|
| 672 |
-
|
| 673 |
-
|
| 674 |
-
|
| 675 |
-
|
| 676 |
-
|
| 677 |
-
|
| 678 |
-
|
| 679 |
-
|
| 680 |
-
|
| 681 |
-
|
| 682 |
-
|
| 683 |
-
|
| 684 |
-
|
| 685 |
-
|
| 686 |
-
|
| 687 |
-
|
| 688 |
-
|
| 689 |
-
|
| 690 |
-
|
| 691 |
-
|
| 692 |
-
|
| 693 |
-
|
| 694 |
-
|
| 695 |
-
|
| 696 |
-
|
| 697 |
-
|
| 698 |
-
|
| 699 |
-
|
| 700 |
-
|
| 701 |
-
|
| 702 |
-
|
| 703 |
-
|
| 704 |
-
|
| 705 |
-
|
| 706 |
-
|
| 707 |
-
|
| 708 |
-
|
| 709 |
-
|
| 710 |
-
|
| 711 |
-
|
| 712 |
-
|
| 713 |
-
|
| 714 |
-
|
| 715 |
-
|
| 716 |
-
|
| 717 |
-
|
| 718 |
-
|
| 719 |
-
|
| 720 |
-
|
| 721 |
-
|
| 722 |
-
|
| 723 |
-
|
| 724 |
-
|
| 725 |
-
|
| 726 |
-
|
| 727 |
-
|
| 728 |
-
|
| 729 |
-
|
| 730 |
-
|
| 731 |
-
|
| 732 |
-
|
| 733 |
-
|
| 734 |
-
|
| 735 |
-
|
| 736 |
-
|
| 737 |
-
|
| 738 |
-
|
| 739 |
-
|
| 740 |
-
|
| 741 |
-
|
| 742 |
-
|
| 743 |
-
|
| 744 |
-
|
| 745 |
-
|
| 746 |
-
|
| 747 |
-
|
| 748 |
-
|
| 749 |
-
|
| 750 |
-
|
| 751 |
-
|
| 752 |
-
|
| 753 |
-
|
| 754 |
-
|
| 755 |
-
|
| 756 |
-
|
| 757 |
-
|
| 758 |
-
|
| 759 |
-
|
| 760 |
-
|
| 761 |
-
|
| 762 |
-
|
| 763 |
-
|
| 764 |
-
|
| 765 |
-
|
| 766 |
-
|
| 767 |
-
|
| 768 |
-
|
| 769 |
-
|
| 770 |
-
|
| 771 |
-
|
| 772 |
-
|
| 773 |
-
|
| 774 |
-
|
| 775 |
-
|
| 776 |
-
|
| 777 |
-
|
| 778 |
-
|
| 779 |
-
|
| 780 |
-
|
| 781 |
-
|
| 782 |
-
|
| 783 |
-
|
| 784 |
-
|
| 785 |
-
|
| 786 |
-
|
| 787 |
-
|
| 788 |
-
|
| 789 |
-
|
| 790 |
-
|
| 791 |
-
|
| 792 |
-
|
| 793 |
-
|
| 794 |
-
|
| 795 |
-
|
| 796 |
-
|
| 797 |
-
|
| 798 |
-
|
| 799 |
-
|
| 800 |
-
|
| 801 |
-
|
| 802 |
-
|
| 803 |
-
|
| 804 |
-
|
| 805 |
-
|
| 806 |
-
|
| 807 |
-
|
| 808 |
-
|
| 809 |
-
|
| 810 |
-
|
| 811 |
-
|
| 812 |
-
|
| 813 |
-
|
| 814 |
-
|
| 815 |
-
|
| 816 |
-
|
| 817 |
-
|
| 818 |
-
|
| 819 |
-
|
| 820 |
-
|
| 821 |
-
|
| 822 |
-
|
| 823 |
-
|
| 824 |
-
|
| 825 |
-
|
| 826 |
-
|
| 827 |
-
|
| 828 |
-
|
| 829 |
-
|
| 830 |
-
|
| 831 |
-
|
| 832 |
-
|
| 833 |
-
|
| 834 |
-
|
| 835 |
-
|
| 836 |
-
|
| 837 |
-
|
| 838 |
-
|
| 839 |
-
|
| 840 |
-
|
| 841 |
-
|
| 842 |
-
|
| 843 |
-
|
| 844 |
-
|
| 845 |
-
|
| 846 |
-
|
| 847 |
-
|
| 848 |
-
|
| 849 |
-
|
| 850 |
-
|
| 851 |
-
|
| 852 |
-
|
| 853 |
-
|
| 854 |
-
|
| 855 |
-
|
| 856 |
-
|
| 857 |
-
|
| 858 |
-
|
| 859 |
-
|
| 860 |
-
|
| 861 |
-
|
| 862 |
-
|
| 863 |
-
|
| 864 |
-
|
| 865 |
-
|
| 866 |
-
|
| 867 |
-
|
| 868 |
-
|
| 869 |
-
|
| 870 |
-
|
| 871 |
-
|
| 872 |
-
|
| 873 |
-
|
| 874 |
-
|
| 875 |
-
|
| 876 |
-
|
| 877 |
-
|
| 878 |
-
|
| 879 |
-
|
| 880 |
-
|
| 881 |
-
|
| 882 |
-
|
| 883 |
-
|
| 884 |
-
|
| 885 |
-
|
| 886 |
-
|
| 887 |
-
|
| 888 |
-
|
| 889 |
-
|
| 890 |
-
|
| 891 |
-
|
| 892 |
-
|
| 893 |
-
|
| 894 |
-
|
| 895 |
-
|
| 896 |
-
|
| 897 |
-
|
| 898 |
-
|
| 899 |
-
|
| 900 |
-
|
| 901 |
-
|
| 902 |
-
|
| 903 |
-
|
| 904 |
-
|
| 905 |
-
|
| 906 |
-
|
| 907 |
-
|
| 908 |
-
|
| 909 |
-
|
| 910 |
-
|
| 911 |
-
|
| 912 |
-
|
| 913 |
-
|
| 914 |
-
|
| 915 |
-
|
| 916 |
-
|
| 917 |
-
|
| 918 |
-
|
| 919 |
-
|
| 920 |
-
|
| 921 |
-
|
| 922 |
-
|
| 923 |
-
|
| 924 |
-
|
| 925 |
-
|
| 926 |
-
|
| 927 |
-
|
| 928 |
-
|
| 929 |
-
|
| 930 |
-
|
| 931 |
-
|
| 932 |
-
|
| 933 |
-
|
| 934 |
-
|
| 935 |
-
|
| 936 |
-
|
| 937 |
-
|
| 938 |
-
|
| 939 |
-
|
| 940 |
-
|
| 941 |
-
|
| 942 |
-
|
| 943 |
-
|
| 944 |
-
|
| 945 |
-
|
| 946 |
-
|
| 947 |
-
|
| 948 |
-
|
| 949 |
-
|
| 950 |
-
|
| 951 |
-
|
| 952 |
-
|
| 953 |
-
|
| 954 |
-
|
| 955 |
-
|
| 956 |
-
|
| 957 |
-
|
| 958 |
-
|
| 959 |
-
|
| 960 |
-
|
| 961 |
-
|
| 962 |
-
|
| 963 |
-
|
| 964 |
-
|
| 965 |
-
|
| 966 |
-
|
| 967 |
-
|
| 968 |
-
|
| 969 |
-
|
| 970 |
-
|
| 971 |
-
|
| 972 |
-
|
| 973 |
-
|
| 974 |
-
|
| 975 |
-
|
| 976 |
-
|
| 977 |
-
|
| 978 |
-
|
| 979 |
-
|
| 980 |
-
|
| 981 |
-
|
| 982 |
-
|
| 983 |
-
|
| 984 |
-
|
| 985 |
-
|
| 986 |
-
|
| 987 |
-
|
| 988 |
-
|
| 989 |
-
|
| 990 |
-
|
| 991 |
-
|
| 992 |
-
|
| 993 |
-
|
| 994 |
-
|
| 995 |
-
|
| 996 |
-
|
| 997 |
-
|
| 998 |
-
|
| 999 |
-
|
| 1000 |
-
|
| 1001 |
-
|
| 1002 |
-
|
| 1003 |
-
|
| 1004 |
-
|
| 1005 |
-
|
| 1006 |
-
|
| 1007 |
-
|
| 1008 |
-
|
| 1009 |
-
|
| 1010 |
-
|
| 1011 |
-
|
| 1012 |
-
|
| 1013 |
-
|
| 1014 |
-
|
| 1015 |
-
|
| 1016 |
-
|
| 1017 |
-
|
| 1018 |
-
|
| 1019 |
-
|
| 1020 |
-
|
| 1021 |
-
|
| 1022 |
-
|
| 1023 |
-
|
| 1024 |
-
|
| 1025 |
-
|
| 1026 |
-
|
| 1027 |
-
|
| 1028 |
-
|
| 1029 |
-
|
| 1030 |
-
|
| 1031 |
-
|
| 1032 |
-
|
| 1033 |
-
|
| 1034 |
-
|
| 1035 |
-
|
| 1036 |
-
|
| 1037 |
-
|
| 1038 |
-
|
| 1039 |
-
|
| 1040 |
-
|
| 1041 |
-
|
| 1042 |
-
|
| 1043 |
-
|
| 1044 |
-
|
| 1045 |
-
|
| 1046 |
-
|
| 1047 |
-
|
| 1048 |
-
|
| 1049 |
|
| 1050 |
-
|
| 1051 |
if(!self.bgxp){self.bgxp = self.largeWidth/self.newvalue;}
|
| 1052 |
-
|
| 1053 |
-
if (!self.bgloop){
|
| 1054 |
-
|
| 1055 |
|
| 1056 |
-
self.bgxp += (self.largeWidth/self.newvalue - self.bgxp) / self.options.easingAmount;
|
| 1057 |
-
|
| 1058 |
|
| 1059 |
self.zoomWindow.css({ "background-size": self.bgxp + 'px ' + self.bgyp + 'px' });
|
| 1060 |
|
|
@@ -1062,716 +1062,716 @@ if ( typeof Object.create !== 'function' ) {
|
|
| 1062 |
}, 16);
|
| 1063 |
|
| 1064 |
}
|
| 1065 |
-
|
| 1066 |
-
|
| 1067 |
-
|
| 1068 |
-
|
| 1069 |
-
|
| 1070 |
-
|
| 1071 |
-
|
| 1072 |
-
|
| 1073 |
-
|
| 1074 |
-
|
| 1075 |
-
|
| 1076 |
-
|
| 1077 |
-
|
| 1078 |
-
|
| 1079 |
-
|
| 1080 |
-
|
| 1081 |
-
|
| 1082 |
-
|
| 1083 |
-
|
| 1084 |
-
|
| 1085 |
-
|
| 1086 |
-
|
| 1087 |
-
|
| 1088 |
-
|
| 1089 |
-
|
| 1090 |
-
|
| 1091 |
-
|
| 1092 |
-
|
| 1093 |
-
|
| 1094 |
-
|
| 1095 |
-
|
| 1096 |
-
|
| 1097 |
-
|
| 1098 |
-
|
| 1099 |
-
|
| 1100 |
-
|
| 1101 |
-
|
| 1102 |
-
|
| 1103 |
-
|
| 1104 |
-
|
| 1105 |
-
|
| 1106 |
-
|
| 1107 |
-
|
| 1108 |
-
|
| 1109 |
-
|
| 1110 |
-
|
| 1111 |
-
|
| 1112 |
-
|
| 1113 |
-
|
| 1114 |
-
|
| 1115 |
-
|
| 1116 |
-
|
| 1117 |
-
|
| 1118 |
-
|
| 1119 |
-
|
| 1120 |
-
|
| 1121 |
-
|
| 1122 |
-
|
| 1123 |
-
|
| 1124 |
-
|
| 1125 |
-
|
| 1126 |
-
|
| 1127 |
-
|
| 1128 |
-
|
| 1129 |
-
|
| 1130 |
-
|
| 1131 |
-
|
| 1132 |
-
|
| 1133 |
-
|
| 1134 |
-
|
| 1135 |
-
|
| 1136 |
-
|
| 1137 |
-
|
| 1138 |
-
|
| 1139 |
-
|
| 1140 |
-
|
| 1141 |
-
|
| 1142 |
-
|
| 1143 |
-
|
| 1144 |
-
|
| 1145 |
-
|
| 1146 |
-
|
| 1147 |
-
|
| 1148 |
-
|
| 1149 |
-
|
| 1150 |
-
|
| 1151 |
-
|
| 1152 |
-
|
| 1153 |
-
|
| 1154 |
-
|
| 1155 |
-
|
| 1156 |
-
|
| 1157 |
-
|
| 1158 |
-
|
| 1159 |
-
|
| 1160 |
-
|
| 1161 |
-
|
| 1162 |
-
|
| 1163 |
-
|
| 1164 |
-
|
| 1165 |
-
|
| 1166 |
-
|
| 1167 |
-
|
| 1168 |
-
|
| 1169 |
-
|
| 1170 |
-
|
| 1171 |
-
|
| 1172 |
-
|
| 1173 |
-
|
| 1174 |
-
|
| 1175 |
-
|
| 1176 |
-
|
| 1177 |
-
|
| 1178 |
-
|
| 1179 |
-
|
| 1180 |
-
|
| 1181 |
-
|
| 1182 |
-
|
| 1183 |
-
|
| 1184 |
-
|
| 1185 |
-
|
| 1186 |
-
|
| 1187 |
-
|
| 1188 |
-
|
| 1189 |
-
|
| 1190 |
-
|
| 1191 |
-
|
| 1192 |
-
|
| 1193 |
-
|
| 1194 |
-
|
| 1195 |
-
|
| 1196 |
-
|
| 1197 |
-
|
| 1198 |
-
|
| 1199 |
-
|
| 1200 |
-
|
| 1201 |
-
|
| 1202 |
-
|
| 1203 |
-
|
| 1204 |
-
|
| 1205 |
-
|
| 1206 |
-
|
| 1207 |
-
|
| 1208 |
-
|
| 1209 |
-
|
| 1210 |
-
|
| 1211 |
-
|
| 1212 |
-
|
| 1213 |
-
|
| 1214 |
-
|
| 1215 |
-
|
| 1216 |
-
|
| 1217 |
-
|
| 1218 |
-
|
| 1219 |
-
|
| 1220 |
-
|
| 1221 |
-
|
| 1222 |
-
|
| 1223 |
-
|
| 1224 |
-
|
| 1225 |
-
|
| 1226 |
-
|
| 1227 |
-
|
| 1228 |
-
|
| 1229 |
-
|
| 1230 |
-
|
| 1231 |
-
|
| 1232 |
-
|
| 1233 |
-
|
| 1234 |
-
|
| 1235 |
-
|
| 1236 |
-
|
| 1237 |
-
|
| 1238 |
-
|
| 1239 |
-
|
| 1240 |
-
|
| 1241 |
-
|
| 1242 |
-
|
| 1243 |
-
|
| 1244 |
-
|
| 1245 |
-
|
| 1246 |
-
|
| 1247 |
-
|
| 1248 |
-
|
| 1249 |
-
|
| 1250 |
-
|
| 1251 |
-
|
| 1252 |
-
|
| 1253 |
-
|
| 1254 |
-
|
| 1255 |
-
|
| 1256 |
-
|
| 1257 |
-
|
| 1258 |
-
|
| 1259 |
-
|
| 1260 |
-
|
| 1261 |
-
|
| 1262 |
-
|
| 1263 |
-
|
| 1264 |
-
|
| 1265 |
-
|
| 1266 |
-
|
| 1267 |
-
|
| 1268 |
-
|
| 1269 |
-
|
| 1270 |
-
|
| 1271 |
-
|
| 1272 |
-
|
| 1273 |
-
|
| 1274 |
-
|
| 1275 |
-
|
| 1276 |
-
|
| 1277 |
-
|
| 1278 |
-
|
| 1279 |
-
|
| 1280 |
-
|
| 1281 |
-
|
| 1282 |
-
|
| 1283 |
-
|
| 1284 |
-
|
| 1285 |
-
|
| 1286 |
-
|
| 1287 |
-
|
| 1288 |
-
|
| 1289 |
-
|
| 1290 |
-
|
| 1291 |
-
|
| 1292 |
-
|
| 1293 |
-
|
| 1294 |
-
|
| 1295 |
-
|
| 1296 |
-
|
| 1297 |
-
|
| 1298 |
-
|
| 1299 |
-
|
| 1300 |
-
|
| 1301 |
-
|
| 1302 |
-
|
| 1303 |
-
|
| 1304 |
-
|
| 1305 |
-
|
| 1306 |
-
|
| 1307 |
-
|
| 1308 |
-
|
| 1309 |
-
|
| 1310 |
-
|
| 1311 |
-
|
| 1312 |
-
|
| 1313 |
-
|
| 1314 |
-
|
| 1315 |
-
|
| 1316 |
-
|
| 1317 |
-
|
| 1318 |
-
|
| 1319 |
-
|
| 1320 |
-
|
| 1321 |
-
|
| 1322 |
-
|
| 1323 |
-
|
| 1324 |
-
|
| 1325 |
-
|
| 1326 |
-
|
| 1327 |
-
|
| 1328 |
-
|
| 1329 |
-
|
| 1330 |
-
|
| 1331 |
-
|
| 1332 |
-
|
| 1333 |
-
|
| 1334 |
-
|
| 1335 |
-
|
| 1336 |
-
|
| 1337 |
-
|
| 1338 |
-
|
| 1339 |
-
|
| 1340 |
-
|
| 1341 |
-
|
| 1342 |
-
|
| 1343 |
-
|
| 1344 |
-
|
| 1345 |
-
|
| 1346 |
-
|
| 1347 |
-
|
| 1348 |
-
|
| 1349 |
-
|
| 1350 |
-
|
| 1351 |
-
|
| 1352 |
-
|
| 1353 |
-
|
| 1354 |
-
|
| 1355 |
-
|
| 1356 |
-
|
| 1357 |
-
|
| 1358 |
-
|
| 1359 |
-
|
| 1360 |
-
|
| 1361 |
-
|
| 1362 |
-
|
| 1363 |
-
|
| 1364 |
-
|
| 1365 |
-
|
| 1366 |
-
|
| 1367 |
-
|
| 1368 |
-
|
| 1369 |
-
|
| 1370 |
-
|
| 1371 |
-
|
| 1372 |
-
|
| 1373 |
-
|
| 1374 |
-
|
| 1375 |
-
|
| 1376 |
-
|
| 1377 |
-
|
| 1378 |
-
|
| 1379 |
-
|
| 1380 |
-
|
| 1381 |
-
|
| 1382 |
-
|
| 1383 |
-
|
| 1384 |
-
|
| 1385 |
-
|
| 1386 |
-
|
| 1387 |
-
|
| 1388 |
-
|
| 1389 |
-
|
| 1390 |
-
|
| 1391 |
-
|
| 1392 |
-
|
| 1393 |
-
|
| 1394 |
-
|
| 1395 |
-
|
| 1396 |
-
|
| 1397 |
-
|
| 1398 |
-
|
| 1399 |
-
|
| 1400 |
-
|
| 1401 |
-
|
| 1402 |
-
|
| 1403 |
-
|
| 1404 |
-
|
| 1405 |
-
|
| 1406 |
-
|
| 1407 |
-
|
| 1408 |
-
|
| 1409 |
-
|
| 1410 |
-
|
| 1411 |
-
|
| 1412 |
-
|
| 1413 |
-
|
| 1414 |
-
|
| 1415 |
-
|
| 1416 |
-
|
| 1417 |
-
|
| 1418 |
-
|
| 1419 |
-
|
| 1420 |
-
|
| 1421 |
-
|
| 1422 |
-
|
| 1423 |
-
|
| 1424 |
-
|
| 1425 |
-
|
| 1426 |
-
|
| 1427 |
-
|
| 1428 |
-
|
| 1429 |
-
|
| 1430 |
-
|
| 1431 |
-
|
| 1432 |
-
|
| 1433 |
-
|
| 1434 |
-
|
| 1435 |
-
|
| 1436 |
-
|
| 1437 |
-
|
| 1438 |
-
|
| 1439 |
-
|
| 1440 |
-
|
| 1441 |
-
|
| 1442 |
-
|
| 1443 |
-
|
| 1444 |
-
|
| 1445 |
-
|
| 1446 |
-
|
| 1447 |
-
|
| 1448 |
-
|
| 1449 |
-
|
| 1450 |
|
| 1451 |
|
| 1452 |
-
|
| 1453 |
-
|
| 1454 |
-
|
| 1455 |
-
|
| 1456 |
-
|
| 1457 |
-
|
| 1458 |
-
|
| 1459 |
-
|
| 1460 |
-
|
| 1461 |
-
|
| 1462 |
|
| 1463 |
-
|
| 1464 |
-
|
| 1465 |
-
|
| 1466 |
|
| 1467 |
-
|
| 1468 |
-
|
| 1469 |
|
| 1470 |
-
|
| 1471 |
-
|
| 1472 |
-
|
| 1473 |
|
| 1474 |
|
| 1475 |
|
| 1476 |
|
| 1477 |
-
|
| 1478 |
-
|
| 1479 |
-
|
| 1480 |
|
| 1481 |
|
| 1482 |
|
| 1483 |
|
| 1484 |
-
|
| 1485 |
-
|
| 1486 |
-
|
| 1487 |
-
|
| 1488 |
-
|
| 1489 |
-
|
| 1490 |
-
|
| 1491 |
|
| 1492 |
-
|
| 1493 |
-
|
| 1494 |
-
|
| 1495 |
-
|
| 1496 |
-
|
| 1497 |
|
| 1498 |
-
|
| 1499 |
|
| 1500 |
|
| 1501 |
// calculate new width ratio
|
| 1502 |
|
| 1503 |
-
|
| 1504 |
-
|
| 1505 |
-
|
| 1506 |
-
|
| 1507 |
|
| 1508 |
-
|
| 1509 |
-
|
| 1510 |
-
|
| 1511 |
-
|
| 1512 |
-
|
| 1513 |
|
| 1514 |
-
|
| 1515 |
-
|
| 1516 |
-
|
| 1517 |
-
|
| 1518 |
-
|
| 1519 |
|
| 1520 |
-
|
| 1521 |
-
|
| 1522 |
-
|
| 1523 |
|
| 1524 |
-
|
| 1525 |
-
|
| 1526 |
-
|
| 1527 |
|
| 1528 |
|
| 1529 |
|
| 1530 |
-
|
| 1531 |
-
|
| 1532 |
-
|
| 1533 |
-
|
| 1534 |
-
|
| 1535 |
-
|
| 1536 |
-
|
| 1537 |
-
|
| 1538 |
-
|
| 1539 |
-
|
| 1540 |
|
| 1541 |
|
| 1542 |
-
|
| 1543 |
|
| 1544 |
|
| 1545 |
-
|
| 1546 |
-
|
| 1547 |
-
|
| 1548 |
-
|
| 1549 |
-
|
| 1550 |
-
|
| 1551 |
-
|
| 1552 |
|
| 1553 |
|
| 1554 |
-
|
| 1555 |
-
|
| 1556 |
|
| 1557 |
|
| 1558 |
|
| 1559 |
-
|
| 1560 |
|
| 1561 |
-
|
| 1562 |
|
| 1563 |
-
|
| 1564 |
-
|
| 1565 |
-
|
| 1566 |
-
|
| 1567 |
-
|
| 1568 |
-
|
| 1569 |
|
| 1570 |
|
| 1571 |
|
| 1572 |
|
| 1573 |
-
|
| 1574 |
|
| 1575 |
-
|
| 1576 |
-
|
| 1577 |
|
| 1578 |
-
|
| 1579 |
-
|
| 1580 |
-
|
| 1581 |
-
|
| 1582 |
|
| 1583 |
-
|
| 1584 |
|
| 1585 |
|
| 1586 |
-
|
| 1587 |
-
|
| 1588 |
|
| 1589 |
-
|
| 1590 |
-
|
| 1591 |
-
|
| 1592 |
-
|
| 1593 |
|
| 1594 |
|
| 1595 |
-
|
| 1596 |
-
|
| 1597 |
|
| 1598 |
-
|
| 1599 |
|
| 1600 |
-
|
| 1601 |
-
|
| 1602 |
-
|
| 1603 |
-
|
| 1604 |
-
|
| 1605 |
|
| 1606 |
-
|
| 1607 |
-
|
| 1608 |
-
|
| 1609 |
-
|
| 1610 |
-
|
| 1611 |
-
|
| 1612 |
-
|
| 1613 |
-
|
| 1614 |
-
|
| 1615 |
-
|
| 1616 |
-
|
| 1617 |
|
| 1618 |
-
|
| 1619 |
-
|
| 1620 |
-
|
| 1621 |
-
|
| 1622 |
-
|
| 1623 |
|
| 1624 |
-
|
| 1625 |
-
|
| 1626 |
-
|
| 1627 |
|
| 1628 |
-
|
| 1629 |
|
| 1630 |
|
| 1631 |
|
| 1632 |
-
|
| 1633 |
-
|
| 1634 |
|
| 1635 |
-
|
| 1636 |
|
| 1637 |
|
| 1638 |
-
|
| 1639 |
|
| 1640 |
|
| 1641 |
-
|
| 1642 |
-
|
| 1643 |
-
|
| 1644 |
|
| 1645 |
-
|
| 1646 |
-
|
| 1647 |
-
|
| 1648 |
-
|
| 1649 |
-
|
| 1650 |
|
| 1651 |
|
| 1652 |
-
|
| 1653 |
|
| 1654 |
|
| 1655 |
|
| 1656 |
|
| 1657 |
-
|
| 1658 |
|
| 1659 |
|
| 1660 |
|
| 1661 |
-
|
| 1662 |
-
|
| 1663 |
-
|
| 1664 |
|
| 1665 |
-
|
| 1666 |
-
|
| 1667 |
|
| 1668 |
-
|
| 1669 |
-
|
| 1670 |
|
| 1671 |
-
|
| 1672 |
-
|
| 1673 |
-
|
| 1674 |
-
|
| 1675 |
-
|
| 1676 |
|
| 1677 |
-
|
| 1678 |
-
|
| 1679 |
-
|
| 1680 |
|
| 1681 |
-
|
| 1682 |
-
|
| 1683 |
-
|
| 1684 |
-
|
| 1685 |
-
|
| 1686 |
-
|
| 1687 |
-
|
| 1688 |
|
| 1689 |
-
|
| 1690 |
|
| 1691 |
-
|
| 1692 |
-
|
| 1693 |
-
|
| 1694 |
-
|
| 1695 |
-
|
| 1696 |
-
|
| 1697 |
-
|
| 1698 |
-
|
| 1699 |
-
|
| 1700 |
-
|
| 1701 |
-
|
| 1702 |
-
|
| 1703 |
-
|
| 1704 |
|
| 1705 |
-
|
| 1706 |
|
| 1707 |
-
|
| 1708 |
|
| 1709 |
|
| 1710 |
|
| 1711 |
|
| 1712 |
-
|
| 1713 |
-
|
| 1714 |
-
|
| 1715 |
|
| 1716 |
-
|
| 1717 |
|
| 1718 |
-
|
| 1719 |
|
| 1720 |
-
|
| 1721 |
-
|
| 1722 |
|
| 1723 |
-
|
| 1724 |
-
|
| 1725 |
zoomEnabled: true, //false disables zoomwindow from showing
|
| 1726 |
-
|
| 1727 |
-
|
| 1728 |
-
|
| 1729 |
-
|
| 1730 |
-
|
| 1731 |
-
|
| 1732 |
-
|
| 1733 |
-
|
| 1734 |
-
|
| 1735 |
-
|
| 1736 |
-
|
| 1737 |
-
|
| 1738 |
-
|
| 1739 |
-
|
| 1740 |
-
|
| 1741 |
-
|
| 1742 |
-
|
| 1743 |
-
|
| 1744 |
-
|
| 1745 |
-
|
| 1746 |
-
|
| 1747 |
-
|
| 1748 |
-
|
| 1749 |
-
|
| 1750 |
-
|
| 1751 |
-
|
| 1752 |
-
|
| 1753 |
-
|
| 1754 |
-
|
| 1755 |
-
|
| 1756 |
-
|
| 1757 |
-
|
| 1758 |
-
|
| 1759 |
-
|
| 1760 |
-
|
| 1761 |
-
|
| 1762 |
-
|
| 1763 |
-
|
| 1764 |
-
|
| 1765 |
-
|
| 1766 |
-
|
| 1767 |
-
|
| 1768 |
-
|
| 1769 |
-
|
| 1770 |
-
|
| 1771 |
-
|
| 1772 |
-
|
| 1773 |
-
|
| 1774 |
-
|
| 1775 |
-
|
| 1776 |
-
|
| 1777 |
-
})( jQuery, window, document );
|
| 26 |
|
| 27 |
|
| 28 |
if ( typeof Object.create !== 'function' ) {
|
| 29 |
+
Object.create = function( obj ) {
|
| 30 |
+
function F() {};
|
| 31 |
+
F.prototype = obj;
|
| 32 |
+
return new F();
|
| 33 |
+
};
|
| 34 |
}
|
| 35 |
|
| 36 |
(function( $, window, document, undefined ) {
|
| 37 |
+
var ElevateZoom = {
|
| 38 |
+
init: function( options, elem ) {
|
| 39 |
+
var self = this;
|
| 40 |
|
| 41 |
+
self.elem = elem;
|
| 42 |
+
self.$elem = $( elem );
|
| 43 |
|
| 44 |
+
self.imageSrc = self.$elem.data("zoom-image") ? self.$elem.data("zoom-image") : self.$elem.attr("src");
|
| 45 |
|
| 46 |
+
self.options = $.extend( {}, $.fn.elevateZoom.options, options );
|
| 47 |
|
| 48 |
+
//TINT OVERRIDE SETTINGS
|
| 49 |
+
if(self.options.tint) {
|
| 50 |
+
self.options.lensColour = "none", //colour of the lens background
|
| 51 |
+
self.options.lensOpacity = "1" //opacity of the lens
|
| 52 |
+
}
|
| 53 |
+
//INNER OVERRIDE SETTINGS
|
| 54 |
+
if(self.options.zoomType == "inner") {self.options.showLens = false;}
|
| 55 |
|
| 56 |
|
| 57 |
+
//Remove alt on hover
|
| 58 |
+
|
| 59 |
+
self.$elem.parent().removeAttr('title').removeAttr('alt');
|
| 60 |
+
|
| 61 |
+
self.zoomImage = self.imageSrc;
|
| 62 |
+
|
| 63 |
+
self.refresh( 1 );
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
//Create the image swap from the gallery
|
| 68 |
+
$('#'+self.options.gallery + ' a').click( function(e) {
|
| 69 |
+
|
| 70 |
+
//Set a class on the currently active gallery image
|
| 71 |
+
if(self.options.galleryActiveClass){
|
| 72 |
+
$('#'+self.options.gallery + ' a').removeClass(self.options.galleryActiveClass);
|
| 73 |
+
$(this).addClass(self.options.galleryActiveClass);
|
| 74 |
+
}
|
| 75 |
+
//stop any link on the a tag from working
|
| 76 |
+
e.preventDefault();
|
| 77 |
+
|
| 78 |
+
//call the swap image function
|
| 79 |
+
if($(this).data("zoom-image")){self.zoomImagePre = $(this).data("zoom-image")}
|
| 80 |
+
else{self.zoomImagePre = $(this).data("image");}
|
| 81 |
+
self.swaptheimage($(this).data("image"), self.zoomImagePre);
|
| 82 |
+
return false;
|
| 83 |
+
});
|
| 84 |
+
|
| 85 |
+
},
|
| 86 |
+
|
| 87 |
+
refresh: function( length ) {
|
| 88 |
+
var self = this;
|
| 89 |
|
| 90 |
+
setTimeout(function() {
|
| 91 |
+
self.fetch(self.imageSrc);
|
| 92 |
|
| 93 |
+
}, length || self.options.refresh );
|
| 94 |
+
},
|
| 95 |
|
| 96 |
+
fetch: function(imgsrc) {
|
| 97 |
+
//get the image
|
| 98 |
+
var self = this;
|
| 99 |
+
var newImg = new Image();
|
| 100 |
+
newImg.onload = function() {
|
| 101 |
+
//set the large image dimensions - used to calculte ratio's
|
| 102 |
+
self.largeWidth = newImg.width;
|
| 103 |
+
self.largeHeight = newImg.height;
|
| 104 |
+
//once image is loaded start the calls
|
| 105 |
+
self.startZoom();
|
| 106 |
+
self.currentImage = self.imageSrc;
|
| 107 |
+
//let caller know image has been loaded
|
| 108 |
+
self.options.onZoomedImageLoaded(self.$elem);
|
| 109 |
+
}
|
| 110 |
+
newImg.src = imgsrc; // this must be done AFTER setting onload
|
| 111 |
+
|
| 112 |
+
return;
|
| 113 |
+
|
| 114 |
+
},
|
| 115 |
+
|
| 116 |
+
startZoom: function( ) {
|
| 117 |
+
var self = this;
|
| 118 |
+
//get dimensions of the non zoomed image
|
| 119 |
+
self.nzWidth = self.$elem.width();
|
| 120 |
+
self.nzHeight = self.$elem.height();
|
| 121 |
+
|
| 122 |
+
//activated elements
|
| 123 |
+
self.isWindowActive = false;
|
| 124 |
+
self.isLensActive = false;
|
| 125 |
+
self.isTintActive = false;
|
| 126 |
+
self.overWindow = false;
|
| 127 |
+
|
| 128 |
+
//CrossFade Wrappe
|
| 129 |
+
if(self.options.imageCrossfade){
|
| 130 |
+
self.zoomWrap = self.$elem.wrap('<div style="height:'+self.nzHeight+'px;width:'+self.nzWidth+'px;" class="zoomWrapper" />');
|
| 131 |
+
self.$elem.css('position', 'absolute');
|
| 132 |
+
}
|
| 133 |
+
|
| 134 |
+
self.zoomLock = 1;
|
| 135 |
+
self.scrollingLock = false;
|
| 136 |
+
self.changeBgSize = false;
|
| 137 |
+
self.currentZoomLevel = self.options.zoomLevel;
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
//get offset of the non zoomed image
|
| 141 |
+
self.nzOffset = self.$elem.offset();
|
| 142 |
+
//calculate the width ratio of the large/small image
|
| 143 |
+
self.widthRatio = (self.largeWidth/self.currentZoomLevel) / self.nzWidth;
|
| 144 |
+
self.heightRatio = (self.largeHeight/self.currentZoomLevel) / self.nzHeight;
|
| 145 |
+
|
| 146 |
+
|
| 147 |
+
//if window zoom
|
| 148 |
+
if(self.options.zoomType == "window") {
|
| 149 |
+
self.zoomWindowStyle = "overflow: hidden;"
|
| 150 |
+
+ "background-position: 0px 0px;text-align:center;"
|
| 151 |
+
+ "background-color: " + String(self.options.zoomWindowBgColour)
|
| 152 |
+
+ ";width: " + String(self.options.zoomWindowWidth) + "px;"
|
| 153 |
+
+ "height: " + String(self.options.zoomWindowHeight)
|
| 154 |
+
+ "px;float: left;"
|
| 155 |
+
+ "background-size: "+ self.largeWidth/self.currentZoomLevel+ "px " +self.largeHeight/self.currentZoomLevel + "px;"
|
| 156 |
+
+ "display: none;z-index:100;"
|
| 157 |
+
+ "border: " + String(self.options.borderSize)
|
| 158 |
+
+ "px solid " + self.options.borderColour
|
| 159 |
+
+ ";background-repeat: no-repeat;"
|
| 160 |
+
+ "position: absolute;";
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
|
| 164 |
+
//if inner zoom
|
| 165 |
+
if(self.options.zoomType == "inner") {
|
| 166 |
+
//has a border been put on the image? Lets cater for this
|
| 167 |
+
|
| 168 |
+
var borderWidth = self.$elem.css("border-left-width");
|
| 169 |
+
|
| 170 |
+
self.zoomWindowStyle = "overflow: hidden;"
|
| 171 |
+
+ "margin-left: " + String(borderWidth) + ";"
|
| 172 |
+
+ "margin-top: " + String(borderWidth) + ";"
|
| 173 |
+
+ "background-position: 0px 0px;"
|
| 174 |
+
+ "width: " + String(self.nzWidth) + "px;"
|
| 175 |
+
+ "height: " + String(self.nzHeight)
|
| 176 |
+
+ "px;float: left;"
|
| 177 |
+
+ "display: none;"
|
| 178 |
+
+ "cursor:"+(self.options.cursor)+";"
|
| 179 |
+
+ "px solid " + self.options.borderColour
|
| 180 |
+
+ ";background-repeat: no-repeat;"
|
| 181 |
+
+ "position: absolute;";
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
|
| 186 |
+
//lens style for window zoom
|
| 187 |
+
if(self.options.zoomType == "window") {
|
| 188 |
+
|
| 189 |
+
|
| 190 |
+
// adjust images less than the window height
|
| 191 |
+
|
| 192 |
+
if(self.nzHeight < self.options.zoomWindowWidth/self.widthRatio){
|
| 193 |
+
lensHeight = self.nzHeight;
|
| 194 |
+
}
|
| 195 |
+
else{
|
| 196 |
+
lensHeight = String((self.options.zoomWindowHeight/self.heightRatio))
|
| 197 |
+
}
|
| 198 |
+
if(self.largeWidth < self.options.zoomWindowWidth){
|
| 199 |
+
lensWidth = self.nzWidth;
|
| 200 |
+
}
|
| 201 |
+
else{
|
| 202 |
+
lensWidth = (self.options.zoomWindowWidth/self.widthRatio);
|
| 203 |
+
}
|
| 204 |
|
| 205 |
|
| 206 |
+
self.lensStyle = "background-position: 0px 0px;width: " + String((self.options.zoomWindowWidth)/self.widthRatio) + "px;height: " + String((self.options.zoomWindowHeight)/self.heightRatio)
|
| 207 |
+
+ "px;float: right;display: none;"
|
| 208 |
+
+ "overflow: hidden;"
|
| 209 |
+
+ "z-index: 999;"
|
| 210 |
+
+ "-webkit-transform: translateZ(0);"
|
| 211 |
+
+ "opacity:"+(self.options.lensOpacity)+";filter: alpha(opacity = "+(self.options.lensOpacity*100)+"); zoom:1;"
|
| 212 |
+
+ "width:"+lensWidth+"px;"
|
| 213 |
+
+ "height:"+lensHeight+"px;"
|
| 214 |
+
+ "background-color:"+(self.options.lensColour)+";"
|
| 215 |
+
+ "cursor:"+(self.options.cursor)+";"
|
| 216 |
+
+ "border: "+(self.options.lensBorderSize)+"px" +
|
| 217 |
+
" solid "+(self.options.lensBorderColour)+";background-repeat: no-repeat;position: absolute;";
|
| 218 |
+
}
|
| 219 |
|
| 220 |
|
| 221 |
+
//tint style
|
| 222 |
+
self.tintStyle = "display: block;"
|
| 223 |
+
+ "position: absolute;"
|
| 224 |
+
+ "background-color: "+self.options.tintColour+";"
|
| 225 |
+
+ "filter:alpha(opacity=0);"
|
| 226 |
+
+ "opacity: 0;"
|
| 227 |
+
+ "width: " + self.nzWidth + "px;"
|
| 228 |
+
+ "height: " + self.nzHeight + "px;"
|
| 229 |
|
| 230 |
+
;
|
| 231 |
|
| 232 |
+
//lens style for lens zoom with optional round for modern browsers
|
| 233 |
+
self.lensRound = '';
|
| 234 |
|
| 235 |
+
if(self.options.zoomType == "lens") {
|
| 236 |
|
| 237 |
+
self.lensStyle = "background-position: 0px 0px;"
|
| 238 |
+
+ "float: left;display: none;"
|
| 239 |
+
+ "border: " + String(self.options.borderSize) + "px solid " + self.options.borderColour+";"
|
| 240 |
+
+ "width:"+ String(self.options.lensSize) +"px;"
|
| 241 |
+
+ "height:"+ String(self.options.lensSize)+"px;"
|
| 242 |
+
+ "background-repeat: no-repeat;position: absolute;";
|
| 243 |
|
| 244 |
|
| 245 |
+
}
|
| 246 |
|
| 247 |
|
| 248 |
+
//does not round in all browsers
|
| 249 |
+
if(self.options.lensShape == "round") {
|
| 250 |
+
self.lensRound = "border-top-left-radius: " + String(self.options.lensSize / 2 + self.options.borderSize) + "px;"
|
| 251 |
+
+ "border-top-right-radius: " + String(self.options.lensSize / 2 + self.options.borderSize) + "px;"
|
| 252 |
+
+ "border-bottom-left-radius: " + String(self.options.lensSize / 2 + self.options.borderSize) + "px;"
|
| 253 |
+
+ "border-bottom-right-radius: " + String(self.options.lensSize / 2 + self.options.borderSize) + "px;";
|
| 254 |
|
| 255 |
+
}
|
| 256 |
|
| 257 |
+
//create the div's + ""
|
| 258 |
+
//self.zoomContainer = $('<div/>').addClass('zoomContainer').css({"position":"relative", "height":self.nzHeight, "width":self.nzWidth});
|
| 259 |
|
| 260 |
+
self.zoomContainer = $('<div class="zoomContainer" style="-webkit-transform: translateZ(0);position:absolute;left:'+self.nzOffset.left+'px;top:'+self.nzOffset.top+'px;height:'+self.nzHeight+'px;width:'+self.nzWidth+'px;"></div>');
|
| 261 |
+
$('body').append(self.zoomContainer);
|
| 262 |
|
| 263 |
|
| 264 |
+
//this will add overflow hidden and contrain the lens on lens mode
|
| 265 |
+
if(self.options.containLensZoom && self.options.zoomType == "lens"){
|
| 266 |
+
self.zoomContainer.css("overflow", "hidden");
|
| 267 |
+
}
|
| 268 |
+
if(self.options.zoomType != "inner") {
|
| 269 |
+
self.zoomLens = $("<div class='zoomLens' style='" + self.lensStyle + self.lensRound +"'> </div>")
|
| 270 |
+
.appendTo(self.zoomContainer)
|
| 271 |
+
.click(function () {
|
| 272 |
+
self.$elem.trigger('click');
|
| 273 |
+
});
|
| 274 |
|
| 275 |
|
| 276 |
+
if(self.options.tint) {
|
| 277 |
+
self.tintContainer = $('<div/>').addClass('tintContainer');
|
| 278 |
+
self.zoomTint = $("<div class='zoomTint' style='"+self.tintStyle+"'></div>");
|
| 279 |
|
| 280 |
|
| 281 |
+
self.zoomLens.wrap(self.tintContainer);
|
| 282 |
|
| 283 |
|
| 284 |
+
self.zoomTintcss = self.zoomLens.after(self.zoomTint);
|
| 285 |
+
|
| 286 |
+
//if tint enabled - set an image to show over the tint
|
| 287 |
+
|
| 288 |
+
self.zoomTintImage = $('<img style="position: absolute; left: 0px; top: 0px; max-width: none; width: '+self.nzWidth+'px; height: '+self.nzHeight+'px;" src="'+self.imageSrc+'">')
|
| 289 |
+
.appendTo(self.zoomLens)
|
| 290 |
+
.click(function () {
|
| 291 |
+
|
| 292 |
+
self.$elem.trigger('click');
|
| 293 |
+
});
|
| 294 |
+
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
}
|
| 298 |
+
|
| 299 |
+
|
| 300 |
+
|
| 301 |
+
|
| 302 |
+
|
| 303 |
+
|
| 304 |
+
|
| 305 |
+
//create zoom window
|
| 306 |
+
if(isNaN(self.options.zoomWindowPosition)){
|
| 307 |
+
self.zoomWindow = $("<div style='z-index:999;left:"+(self.windowOffsetLeft)+"px;top:"+(self.windowOffsetTop)+"px;" + self.zoomWindowStyle + "' class='zoomWindow'> </div>")
|
| 308 |
+
.appendTo('body')
|
| 309 |
+
.click(function () {
|
| 310 |
+
self.$elem.trigger('click');
|
| 311 |
+
});
|
| 312 |
+
}else{
|
| 313 |
+
self.zoomWindow = $("<div style='z-index:999;left:"+(self.windowOffsetLeft)+"px;top:"+(self.windowOffsetTop)+"px;" + self.zoomWindowStyle + "' class='zoomWindow'> </div>")
|
| 314 |
+
.appendTo(self.zoomContainer)
|
| 315 |
+
.click(function () {
|
| 316 |
+
self.$elem.trigger('click');
|
| 317 |
+
});
|
| 318 |
+
}
|
| 319 |
+
self.zoomWindowContainer = $('<div/>').addClass('zoomWindowContainer').css("width",self.options.zoomWindowWidth);
|
| 320 |
+
self.zoomWindow.wrap(self.zoomWindowContainer);
|
| 321 |
+
|
| 322 |
+
|
| 323 |
+
// self.captionStyle = "text-align: left;background-color: black;color: white;font-weight: bold;padding: 10px;font-family: sans-serif;font-size: 11px";
|
| 324 |
+
// self.zoomCaption = $('<div class="elevatezoom-caption" style="'+self.captionStyle+'display: block; width: 280px;">INSERT ALT TAG</div>').appendTo(self.zoomWindow.parent());
|
| 325 |
+
|
| 326 |
+
if(self.options.zoomType == "lens") {
|
| 327 |
+
self.zoomLens.css({ backgroundImage: "url('" + self.imageSrc + "')" });
|
| 328 |
+
}
|
| 329 |
+
if(self.options.zoomType == "window") {
|
| 330 |
+
self.zoomWindow.css({ backgroundImage: "url('" + self.imageSrc + "')" });
|
| 331 |
+
}
|
| 332 |
+
if(self.options.zoomType == "inner") {
|
| 333 |
+
self.zoomWindow.css({ backgroundImage: "url('" + self.imageSrc + "')" });
|
| 334 |
+
}
|
| 335 |
+
/*-------------------END THE ZOOM WINDOW AND LENS----------------------------------*/
|
| 336 |
+
//touch events
|
| 337 |
+
self.$elem.bind('touchmove', function(e){
|
| 338 |
+
e.preventDefault();
|
| 339 |
+
var touch = e.originalEvent.touches[0] || e.originalEvent.changedTouches[0];
|
| 340 |
+
self.setPosition(touch);
|
| 341 |
+
|
| 342 |
+
});
|
| 343 |
+
self.zoomContainer.bind('touchmove', function(e){
|
| 344 |
+
if(self.options.zoomType == "inner") {
|
| 345 |
+
self.showHideWindow("show");
|
| 346 |
+
|
| 347 |
+
}
|
| 348 |
+
e.preventDefault();
|
| 349 |
+
var touch = e.originalEvent.touches[0] || e.originalEvent.changedTouches[0];
|
| 350 |
+
self.setPosition(touch);
|
| 351 |
+
|
| 352 |
+
});
|
| 353 |
+
self.zoomContainer.bind('touchend', function(e){
|
| 354 |
+
self.showHideWindow("hide");
|
| 355 |
+
if(self.options.showLens) {self.showHideLens("hide");}
|
| 356 |
+
if(self.options.tint && self.options.zoomType != "inner") {self.showHideTint("hide");}
|
| 357 |
+
});
|
| 358 |
+
|
| 359 |
+
self.$elem.bind('touchend', function(e){
|
| 360 |
+
self.showHideWindow("hide");
|
| 361 |
+
if(self.options.showLens) {self.showHideLens("hide");}
|
| 362 |
+
if(self.options.tint && self.options.zoomType != "inner") {self.showHideTint("hide");}
|
| 363 |
+
});
|
| 364 |
+
if(self.options.showLens) {
|
| 365 |
+
self.zoomLens.bind('touchmove', function(e){
|
| 366 |
+
|
| 367 |
+
e.preventDefault();
|
| 368 |
+
var touch = e.originalEvent.touches[0] || e.originalEvent.changedTouches[0];
|
| 369 |
+
self.setPosition(touch);
|
| 370 |
+
});
|
| 371 |
+
|
| 372 |
+
|
| 373 |
+
self.zoomLens.bind('touchend', function(e){
|
| 374 |
+
self.showHideWindow("hide");
|
| 375 |
+
if(self.options.showLens) {self.showHideLens("hide");}
|
| 376 |
+
if(self.options.tint && self.options.zoomType != "inner") {self.showHideTint("hide");}
|
| 377 |
+
});
|
| 378 |
+
}
|
| 379 |
+
//Needed to work in IE
|
| 380 |
+
self.$elem.bind('mousemove', function(e){
|
| 381 |
+
if(self.overWindow == false){self.setElements("show");}
|
| 382 |
+
//make sure on orientation change the setposition is not fired
|
| 383 |
+
if(self.lastX !== e.clientX || self.lastY !== e.clientY){
|
| 384 |
+
self.setPosition(e);
|
| 385 |
+
self.currentLoc = e;
|
| 386 |
+
}
|
| 387 |
+
self.lastX = e.clientX;
|
| 388 |
+
self.lastY = e.clientY;
|
| 389 |
+
|
| 390 |
+
});
|
| 391 |
+
|
| 392 |
+
self.zoomContainer.bind('mousemove', function(e){
|
| 393 |
+
|
| 394 |
+
if(self.overWindow == false){self.setElements("show");}
|
| 395 |
+
|
| 396 |
+
//make sure on orientation change the setposition is not fired
|
| 397 |
+
if(self.lastX !== e.clientX || self.lastY !== e.clientY){
|
| 398 |
+
self.setPosition(e);
|
| 399 |
+
self.currentLoc = e;
|
| 400 |
+
}
|
| 401 |
+
self.lastX = e.clientX;
|
| 402 |
+
self.lastY = e.clientY;
|
| 403 |
+
});
|
| 404 |
+
if(self.options.zoomType != "inner") {
|
| 405 |
+
self.zoomLens.bind('mousemove', function(e){
|
| 406 |
+
//make sure on orientation change the setposition is not fired
|
| 407 |
+
if(self.lastX !== e.clientX || self.lastY !== e.clientY){
|
| 408 |
+
self.setPosition(e);
|
| 409 |
+
self.currentLoc = e;
|
| 410 |
+
}
|
| 411 |
+
self.lastX = e.clientX;
|
| 412 |
+
self.lastY = e.clientY;
|
| 413 |
+
});
|
| 414 |
+
}
|
| 415 |
+
if(self.options.tint && self.options.zoomType != "inner") {
|
| 416 |
+
self.zoomTint.bind('mousemove', function(e){
|
| 417 |
+
//make sure on orientation change the setposition is not fired
|
| 418 |
+
if(self.lastX !== e.clientX || self.lastY !== e.clientY){
|
| 419 |
+
self.setPosition(e);
|
| 420 |
+
self.currentLoc = e;
|
| 421 |
+
}
|
| 422 |
+
self.lastX = e.clientX;
|
| 423 |
+
self.lastY = e.clientY;
|
| 424 |
+
});
|
| 425 |
+
|
| 426 |
+
}
|
| 427 |
+
if(self.options.zoomType == "inner") {
|
| 428 |
+
self.zoomWindow.bind('mousemove', function(e) {
|
| 429 |
+
//self.overWindow = true;
|
| 430 |
+
//make sure on orientation change the setposition is not fired
|
| 431 |
+
if(self.lastX !== e.clientX || self.lastY !== e.clientY){
|
| 432 |
+
self.setPosition(e);
|
| 433 |
+
self.currentLoc = e;
|
| 434 |
+
}
|
| 435 |
+
self.lastX = e.clientX;
|
| 436 |
+
self.lastY = e.clientY;
|
| 437 |
+
});
|
| 438 |
+
|
| 439 |
+
}
|
| 440 |
+
|
| 441 |
+
|
| 442 |
+
// lensFadeOut: 500, zoomTintFadeIn
|
| 443 |
+
self.zoomContainer.add(self.$elem).mouseenter(function(){
|
| 444 |
+
|
| 445 |
+
if(self.overWindow == false){self.setElements("show");}
|
| 446 |
+
|
| 447 |
+
|
| 448 |
+
}).mouseleave(function(){
|
| 449 |
+
if(!self.scrollLock){
|
| 450 |
+
self.setElements("hide");
|
| 451 |
+
}
|
| 452 |
+
});
|
| 453 |
+
//end ove image
|
| 454 |
+
|
| 455 |
+
|
| 456 |
+
|
| 457 |
+
|
| 458 |
+
|
| 459 |
+
if(self.options.zoomType != "inner") {
|
| 460 |
+
self.zoomWindow.mouseenter(function(){
|
| 461 |
+
self.overWindow = true;
|
| 462 |
+
self.setElements("hide");
|
| 463 |
+
}).mouseleave(function(){
|
| 464 |
+
|
| 465 |
+
self.overWindow = false;
|
| 466 |
+
});
|
| 467 |
+
}
|
| 468 |
+
//end ove image
|
| 469 |
|
| 470 |
|
| 471 |
|
| 472 |
// var delta = parseInt(e.originalEvent.wheelDelta || -e.originalEvent.detail);
|
| 473 |
|
| 474 |
+
// $(this).empty();
|
| 475 |
+
// return false;
|
| 476 |
|
| 477 |
+
//fix for initial zoom setting
|
| 478 |
+
if (self.options.zoomLevel != 1){
|
| 479 |
+
// self.changeZoomLevel(self.currentZoomLevel);
|
| 480 |
+
}
|
| 481 |
+
//set the min zoomlevel
|
| 482 |
+
if(self.options.minZoomLevel){
|
| 483 |
+
self.minZoomLevel = self.options.minZoomLevel;
|
| 484 |
+
}
|
| 485 |
+
else{
|
| 486 |
+
self.minZoomLevel = self.options.scrollZoomIncrement * 2;
|
| 487 |
+
}
|
| 488 |
|
| 489 |
|
| 490 |
+
if(self.options.scrollZoom){
|
| 491 |
|
| 492 |
|
| 493 |
+
self.zoomContainer.add(self.$elem).bind('mousewheel DOMMouseScroll MozMousePixelScroll', function(e){
|
| 494 |
|
| 495 |
|
| 496 |
// in IE there is issue with firing of mouseleave - So check whether still scrolling
|
| 497 |
+
// and on mouseleave check if scrolllock
|
| 498 |
+
self.scrollLock = true;
|
| 499 |
+
clearTimeout($.data(this, 'timer'));
|
| 500 |
+
$.data(this, 'timer', setTimeout(function() {
|
| 501 |
+
self.scrollLock = false;
|
| 502 |
+
//do something
|
| 503 |
+
}, 250));
|
| 504 |
|
| 505 |
+
var theEvent = e.originalEvent.wheelDelta || e.originalEvent.detail*-1
|
| 506 |
|
| 507 |
|
| 508 |
+
//this.scrollTop += ( delta < 0 ? 1 : -1 ) * 30;
|
| 509 |
+
// e.preventDefault();
|
| 510 |
|
| 511 |
|
| 512 |
+
e.stopImmediatePropagation();
|
| 513 |
+
e.stopPropagation();
|
| 514 |
+
e.preventDefault();
|
| 515 |
|
| 516 |
|
| 517 |
+
if(theEvent /120 > 0) {
|
| 518 |
+
//scrolling up
|
| 519 |
+
if(self.currentZoomLevel >= self.minZoomLevel){
|
| 520 |
+
self.changeZoomLevel(self.currentZoomLevel-self.options.scrollZoomIncrement);
|
| 521 |
+
}
|
| 522 |
|
| 523 |
+
}
|
| 524 |
+
else{
|
| 525 |
+
//scrolling down
|
| 526 |
|
| 527 |
|
| 528 |
+
if(self.options.maxZoomLevel){
|
| 529 |
+
if(self.currentZoomLevel <= self.options.maxZoomLevel){
|
| 530 |
+
self.changeZoomLevel(parseFloat(self.currentZoomLevel)+self.options.scrollZoomIncrement);
|
| 531 |
+
}
|
| 532 |
+
}
|
| 533 |
+
else{
|
| 534 |
+
//andy
|
| 535 |
|
| 536 |
+
self.changeZoomLevel(parseFloat(self.currentZoomLevel)+self.options.scrollZoomIncrement);
|
| 537 |
+
}
|
| 538 |
|
| 539 |
+
}
|
| 540 |
+
return false;
|
| 541 |
+
});
|
| 542 |
+
}
|
| 543 |
|
| 544 |
|
| 545 |
+
},
|
| 546 |
+
setElements: function(type) {
|
| 547 |
+
var self = this;
|
| 548 |
if(!self.options.zoomEnabled){return false;}
|
| 549 |
+
if(type=="show"){
|
| 550 |
+
if(self.isWindowSet){
|
| 551 |
+
if(self.options.zoomType == "inner") {self.showHideWindow("show");}
|
| 552 |
+
if(self.options.zoomType == "window") {self.showHideWindow("show");}
|
| 553 |
+
if(self.options.showLens) {self.showHideLens("show");}
|
| 554 |
+
if(self.options.tint && self.options.zoomType != "inner") {self.showHideTint("show");
|
| 555 |
+
}
|
| 556 |
+
}
|
| 557 |
+
}
|
| 558 |
+
|
| 559 |
+
if(type=="hide"){
|
| 560 |
+
if(self.options.zoomType == "window") {self.showHideWindow("hide");}
|
| 561 |
+
if(!self.options.tint) {self.showHideWindow("hide");}
|
| 562 |
+
if(self.options.showLens) {self.showHideLens("hide");}
|
| 563 |
+
if(self.options.tint) { self.showHideTint("hide");}
|
| 564 |
+
}
|
| 565 |
+
},
|
| 566 |
+
setPosition: function(e) {
|
| 567 |
+
|
| 568 |
+
var self = this;
|
| 569 |
+
|
| 570 |
if(!self.options.zoomEnabled){return false;}
|
| 571 |
|
| 572 |
+
//recaclc offset each time in case the image moves
|
| 573 |
+
//this can be caused by other on page elements
|
| 574 |
+
self.nzHeight = self.$elem.height();
|
| 575 |
+
self.nzWidth = self.$elem.width();
|
| 576 |
+
self.nzOffset = self.$elem.offset();
|
| 577 |
+
|
| 578 |
+
if(self.options.tint && self.options.zoomType != "inner") {
|
| 579 |
+
self.zoomTint.css({ top: 0});
|
| 580 |
+
self.zoomTint.css({ left: 0});
|
| 581 |
+
}
|
| 582 |
+
//set responsive
|
| 583 |
+
//will checking if the image needs changing before running this code work faster?
|
| 584 |
+
if(self.options.responsive && !self.options.scrollZoom){
|
| 585 |
+
if(self.options.showLens){
|
| 586 |
+
if(self.nzHeight < self.options.zoomWindowWidth/self.widthRatio){
|
| 587 |
+
lensHeight = self.nzHeight;
|
| 588 |
+
}
|
| 589 |
+
else{
|
| 590 |
+
lensHeight = String((self.options.zoomWindowHeight/self.heightRatio))
|
| 591 |
+
}
|
| 592 |
+
if(self.largeWidth < self.options.zoomWindowWidth){
|
| 593 |
+
lensWidth = self.nzWidth;
|
| 594 |
+
}
|
| 595 |
+
else{
|
| 596 |
+
lensWidth = (self.options.zoomWindowWidth/self.widthRatio);
|
| 597 |
+
}
|
| 598 |
+
self.widthRatio = self.largeWidth / self.nzWidth;
|
| 599 |
+
self.heightRatio = self.largeHeight / self.nzHeight;
|
| 600 |
+
if(self.options.zoomType != "lens") {
|
| 601 |
+
|
| 602 |
+
|
| 603 |
+
//possibly dont need to keep recalcalculating
|
| 604 |
+
//if the lens is heigher than the image, then set lens size to image size
|
| 605 |
+
if(self.nzHeight < self.options.zoomWindowWidth/self.widthRatio){
|
| 606 |
+
lensHeight = self.nzHeight;
|
| 607 |
+
|
| 608 |
+
}
|
| 609 |
+
else{
|
| 610 |
+
lensHeight = String((self.options.zoomWindowHeight/self.heightRatio))
|
| 611 |
+
}
|
| 612 |
+
|
| 613 |
+
if(self.options.zoomWindowWidth < self.options.zoomWindowWidth){
|
| 614 |
+
lensWidth = self.nzWidth;
|
| 615 |
+
}
|
| 616 |
+
else{
|
| 617 |
+
lensWidth = (self.options.zoomWindowWidth/self.widthRatio);
|
| 618 |
+
}
|
| 619 |
+
|
| 620 |
+
self.zoomLens.css('width', lensWidth);
|
| 621 |
+
self.zoomLens.css('height', lensHeight);
|
| 622 |
+
|
| 623 |
+
if(self.options.tint){
|
| 624 |
+
self.zoomTintImage.css('width', self.nzWidth);
|
| 625 |
+
self.zoomTintImage.css('height', self.nzHeight);
|
| 626 |
+
}
|
| 627 |
+
|
| 628 |
+
}
|
| 629 |
+
if(self.options.zoomType == "lens") {
|
| 630 |
+
|
| 631 |
+
self.zoomLens.css({ width: String(self.options.lensSize) + 'px', height: String(self.options.lensSize) + 'px' })
|
| 632 |
+
|
| 633 |
+
|
| 634 |
+
}
|
| 635 |
+
//end responsive image change
|
| 636 |
+
}
|
| 637 |
+
}
|
| 638 |
+
|
| 639 |
+
//container fix
|
| 640 |
+
self.zoomContainer.css({ top: self.nzOffset.top});
|
| 641 |
+
self.zoomContainer.css({ left: self.nzOffset.left});
|
| 642 |
+
self.mouseLeft = parseInt(e.pageX - self.nzOffset.left);
|
| 643 |
+
self.mouseTop = parseInt(e.pageY - self.nzOffset.top);
|
| 644 |
+
//calculate the Location of the Lens
|
| 645 |
+
|
| 646 |
+
//calculate the bound regions - but only if zoom window
|
| 647 |
+
if(self.options.zoomType == "window") {
|
| 648 |
+
self.Etoppos = (self.mouseTop < (self.zoomLens.height()/2));
|
| 649 |
+
self.Eboppos = (self.mouseTop > self.nzHeight - (self.zoomLens.height()/2)-(self.options.lensBorderSize*2));
|
| 650 |
+
self.Eloppos = (self.mouseLeft < 0+((self.zoomLens.width()/2)));
|
| 651 |
+
self.Eroppos = (self.mouseLeft > (self.nzWidth - (self.zoomLens.width()/2)-(self.options.lensBorderSize*2)));
|
| 652 |
+
}
|
| 653 |
+
//calculate the bound regions - but only for inner zoom
|
| 654 |
+
if(self.options.zoomType == "inner"){
|
| 655 |
+
self.Etoppos = (self.mouseTop < ((self.nzHeight/2)/self.heightRatio) );
|
| 656 |
+
self.Eboppos = (self.mouseTop > (self.nzHeight - ((self.nzHeight/2)/self.heightRatio)));
|
| 657 |
+
self.Eloppos = (self.mouseLeft < 0+(((self.nzWidth/2)/self.widthRatio)));
|
| 658 |
+
self.Eroppos = (self.mouseLeft > (self.nzWidth - (self.nzWidth/2)/self.widthRatio-(self.options.lensBorderSize*2)));
|
| 659 |
+
}
|
| 660 |
+
|
| 661 |
+
// if the mouse position of the slider is one of the outerbounds, then hide window and lens
|
| 662 |
+
if (self.mouseLeft <= 0 || self.mouseTop < 0 || self.mouseLeft > self.nzWidth || self.mouseTop > self.nzHeight ) {
|
| 663 |
+
self.setElements("hide");
|
| 664 |
+
return;
|
| 665 |
+
}
|
| 666 |
+
//else continue with operations
|
| 667 |
+
else {
|
| 668 |
+
|
| 669 |
+
|
| 670 |
+
//lens options
|
| 671 |
+
if(self.options.showLens) {
|
| 672 |
+
// self.showHideLens("show");
|
| 673 |
+
//set background position of lens
|
| 674 |
+
self.lensLeftPos = String(self.mouseLeft - self.zoomLens.width() / 2);
|
| 675 |
+
self.lensTopPos = String(self.mouseTop - self.zoomLens.height() / 2);
|
| 676 |
+
|
| 677 |
+
|
| 678 |
+
}
|
| 679 |
+
//adjust the background position if the mouse is in one of the outer regions
|
| 680 |
+
|
| 681 |
+
//Top region
|
| 682 |
+
if(self.Etoppos){
|
| 683 |
+
self.lensTopPos = 0;
|
| 684 |
+
}
|
| 685 |
+
//Left Region
|
| 686 |
+
if(self.Eloppos){
|
| 687 |
+
self.windowLeftPos = 0;
|
| 688 |
+
self.lensLeftPos = 0;
|
| 689 |
+
self.tintpos=0;
|
| 690 |
+
}
|
| 691 |
+
//Set bottom and right region for window mode
|
| 692 |
+
if(self.options.zoomType == "window") {
|
| 693 |
+
if(self.Eboppos){
|
| 694 |
+
self.lensTopPos = Math.max( (self.nzHeight)-self.zoomLens.height()-(self.options.lensBorderSize*2), 0 );
|
| 695 |
+
}
|
| 696 |
+
if(self.Eroppos){
|
| 697 |
+
self.lensLeftPos = (self.nzWidth-(self.zoomLens.width())-(self.options.lensBorderSize*2));
|
| 698 |
+
}
|
| 699 |
+
}
|
| 700 |
+
//Set bottom and right region for inner mode
|
| 701 |
+
if(self.options.zoomType == "inner") {
|
| 702 |
+
if(self.Eboppos){
|
| 703 |
+
self.lensTopPos = Math.max( ((self.nzHeight)-(self.options.lensBorderSize*2)), 0 );
|
| 704 |
+
}
|
| 705 |
+
if(self.Eroppos){
|
| 706 |
+
self.lensLeftPos = (self.nzWidth-(self.nzWidth)-(self.options.lensBorderSize*2));
|
| 707 |
+
}
|
| 708 |
+
|
| 709 |
+
}
|
| 710 |
+
//if lens zoom
|
| 711 |
+
if(self.options.zoomType == "lens") {
|
| 712 |
+
self.windowLeftPos = String(((e.pageX - self.nzOffset.left) * self.widthRatio - self.zoomLens.width() / 2) * (-1));
|
| 713 |
+
self.windowTopPos = String(((e.pageY - self.nzOffset.top) * self.heightRatio - self.zoomLens.height() / 2) * (-1));
|
| 714 |
+
|
| 715 |
+
self.zoomLens.css({ backgroundPosition: self.windowLeftPos + 'px ' + self.windowTopPos + 'px' });
|
| 716 |
+
|
| 717 |
+
if(self.changeBgSize){
|
| 718 |
+
|
| 719 |
+
if(self.nzHeight>self.nzWidth){
|
| 720 |
+
if(self.options.zoomType == "lens"){
|
| 721 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
| 722 |
+
}
|
| 723 |
+
|
| 724 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
| 725 |
+
}
|
| 726 |
+
else{
|
| 727 |
+
if(self.options.zoomType == "lens"){
|
| 728 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvaluewidth + 'px' });
|
| 729 |
+
}
|
| 730 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvaluewidth + 'px' });
|
| 731 |
+
}
|
| 732 |
+
self.changeBgSize = false;
|
| 733 |
+
}
|
| 734 |
+
|
| 735 |
+
self.setWindowPostition(e);
|
| 736 |
+
}
|
| 737 |
+
//if tint zoom
|
| 738 |
+
if(self.options.tint && self.options.zoomType != "inner") {
|
| 739 |
+
self.setTintPosition(e);
|
| 740 |
+
|
| 741 |
+
}
|
| 742 |
+
//set the css background position
|
| 743 |
+
if(self.options.zoomType == "window") {
|
| 744 |
+
self.setWindowPostition(e);
|
| 745 |
+
}
|
| 746 |
+
if(self.options.zoomType == "inner") {
|
| 747 |
+
self.setWindowPostition(e);
|
| 748 |
+
}
|
| 749 |
+
if(self.options.showLens) {
|
| 750 |
+
|
| 751 |
+
if(self.fullwidth && self.options.zoomType != "lens"){
|
| 752 |
+
self.lensLeftPos = 0;
|
| 753 |
+
|
| 754 |
+
}
|
| 755 |
+
self.zoomLens.css({ left: self.lensLeftPos + 'px', top: self.lensTopPos + 'px' })
|
| 756 |
+
}
|
| 757 |
+
|
| 758 |
+
} //end else
|
| 759 |
+
|
| 760 |
+
|
| 761 |
+
|
| 762 |
+
},
|
| 763 |
+
showHideWindow: function(change) {
|
| 764 |
+
var self = this;
|
| 765 |
+
if(change == "show"){
|
| 766 |
+
if(!self.isWindowActive){
|
| 767 |
+
if(self.options.zoomWindowFadeIn){
|
| 768 |
+
self.zoomWindow.stop(true, true, false).fadeIn(self.options.zoomWindowFadeIn);
|
| 769 |
+
}
|
| 770 |
+
else{self.zoomWindow.show();}
|
| 771 |
+
self.isWindowActive = true;
|
| 772 |
+
}
|
| 773 |
+
}
|
| 774 |
+
if(change == "hide"){
|
| 775 |
+
if(self.isWindowActive){
|
| 776 |
+
if(self.options.zoomWindowFadeOut){
|
| 777 |
+
self.zoomWindow.stop(true, true).fadeOut(self.options.zoomWindowFadeOut);
|
| 778 |
+
}
|
| 779 |
+
else{self.zoomWindow.hide();}
|
| 780 |
+
self.isWindowActive = false;
|
| 781 |
+
}
|
| 782 |
+
}
|
| 783 |
+
},
|
| 784 |
+
showHideLens: function(change) {
|
| 785 |
+
var self = this;
|
| 786 |
+
if(change == "show"){
|
| 787 |
+
if(!self.isLensActive){
|
| 788 |
+
if(self.options.lensFadeIn){
|
| 789 |
+
self.zoomLens.stop(true, true, false).fadeIn(self.options.lensFadeIn);
|
| 790 |
+
}
|
| 791 |
+
else{self.zoomLens.show();}
|
| 792 |
+
self.isLensActive = true;
|
| 793 |
+
}
|
| 794 |
+
}
|
| 795 |
+
if(change == "hide"){
|
| 796 |
+
if(self.isLensActive){
|
| 797 |
+
if(self.options.lensFadeOut){
|
| 798 |
+
self.zoomLens.stop(true, true).fadeOut(self.options.lensFadeOut);
|
| 799 |
+
}
|
| 800 |
+
else{self.zoomLens.hide();}
|
| 801 |
+
self.isLensActive = false;
|
| 802 |
+
}
|
| 803 |
+
}
|
| 804 |
+
},
|
| 805 |
+
showHideTint: function(change) {
|
| 806 |
+
var self = this;
|
| 807 |
+
if(change == "show"){
|
| 808 |
+
if(!self.isTintActive){
|
| 809 |
+
|
| 810 |
+
if(self.options.zoomTintFadeIn){
|
| 811 |
+
self.zoomTint.css({opacity:self.options.tintOpacity}).animate().stop(true, true).fadeIn("slow");
|
| 812 |
+
}
|
| 813 |
+
else{
|
| 814 |
+
self.zoomTint.css({opacity:self.options.tintOpacity}).animate();
|
| 815 |
+
self.zoomTint.show();
|
| 816 |
+
|
| 817 |
+
|
| 818 |
+
}
|
| 819 |
+
self.isTintActive = true;
|
| 820 |
+
}
|
| 821 |
+
}
|
| 822 |
+
if(change == "hide"){
|
| 823 |
+
if(self.isTintActive){
|
| 824 |
+
|
| 825 |
+
if(self.options.zoomTintFadeOut){
|
| 826 |
+
self.zoomTint.stop(true, true).fadeOut(self.options.zoomTintFadeOut);
|
| 827 |
+
}
|
| 828 |
+
else{self.zoomTint.hide();}
|
| 829 |
+
self.isTintActive = false;
|
| 830 |
+
}
|
| 831 |
+
}
|
| 832 |
+
},
|
| 833 |
+
setLensPostition: function( e ) {
|
| 834 |
+
|
| 835 |
+
|
| 836 |
+
},
|
| 837 |
+
setWindowPostition: function( e ) {
|
| 838 |
+
//return obj.slice( 0, count );
|
| 839 |
+
var self = this;
|
| 840 |
+
|
| 841 |
+
if(!isNaN(self.options.zoomWindowPosition)){
|
| 842 |
+
|
| 843 |
+
switch (self.options.zoomWindowPosition) {
|
| 844 |
+
case 1: //done
|
| 845 |
+
self.windowOffsetTop = (self.options.zoomWindowOffety);//DONE - 1
|
| 846 |
+
self.windowOffsetLeft =(+self.nzWidth); //DONE 1, 2, 3, 4, 16
|
| 847 |
+
break;
|
| 848 |
+
case 2:
|
| 849 |
+
if(self.options.zoomWindowHeight > self.nzHeight){ //positive margin
|
| 850 |
+
|
| 851 |
+
self.windowOffsetTop = ((self.options.zoomWindowHeight/2)-(self.nzHeight/2))*(-1);
|
| 852 |
+
self.windowOffsetLeft =(self.nzWidth); //DONE 1, 2, 3, 4, 16
|
| 853 |
+
}
|
| 854 |
+
else{ //negative margin
|
| 855 |
+
|
| 856 |
+
}
|
| 857 |
+
break;
|
| 858 |
+
case 3: //done
|
| 859 |
+
self.windowOffsetTop = (self.nzHeight - self.zoomWindow.height() - (self.options.borderSize*2)); //DONE 3,9
|
| 860 |
+
self.windowOffsetLeft =(self.nzWidth); //DONE 1, 2, 3, 4, 16
|
| 861 |
+
break;
|
| 862 |
+
case 4: //done
|
| 863 |
+
self.windowOffsetTop = (self.nzHeight); //DONE - 4,5,6,7,8
|
| 864 |
+
self.windowOffsetLeft =(self.nzWidth); //DONE 1, 2, 3, 4, 16
|
| 865 |
+
break;
|
| 866 |
+
case 5: //done
|
| 867 |
+
self.windowOffsetTop = (self.nzHeight); //DONE - 4,5,6,7,8
|
| 868 |
+
self.windowOffsetLeft =(self.nzWidth-self.zoomWindow.width()-(self.options.borderSize*2)); //DONE - 5,15
|
| 869 |
+
break;
|
| 870 |
+
case 6:
|
| 871 |
+
if(self.options.zoomWindowHeight > self.nzHeight){ //positive margin
|
| 872 |
+
self.windowOffsetTop = (self.nzHeight); //DONE - 4,5,6,7,8
|
| 873 |
+
|
| 874 |
+
self.windowOffsetLeft =((self.options.zoomWindowWidth/2)-(self.nzWidth/2)+(self.options.borderSize*2))*(-1);
|
| 875 |
+
}
|
| 876 |
+
else{ //negative margin
|
| 877 |
+
|
| 878 |
+
}
|
| 879 |
+
|
| 880 |
+
|
| 881 |
+
break;
|
| 882 |
+
case 7: //done
|
| 883 |
+
self.windowOffsetTop = (self.nzHeight); //DONE - 4,5,6,7,8
|
| 884 |
+
self.windowOffsetLeft = 0; //DONE 7, 13
|
| 885 |
+
break;
|
| 886 |
+
case 8: //done
|
| 887 |
+
self.windowOffsetTop = (self.nzHeight); //DONE - 4,5,6,7,8
|
| 888 |
+
self.windowOffsetLeft =(self.zoomWindow.width()+(self.options.borderSize*2) )* (-1); //DONE 8,9,10,11,12
|
| 889 |
+
break;
|
| 890 |
+
case 9: //done
|
| 891 |
+
self.windowOffsetTop = (self.nzHeight - self.zoomWindow.height() - (self.options.borderSize*2)); //DONE 3,9
|
| 892 |
+
self.windowOffsetLeft =(self.zoomWindow.width()+(self.options.borderSize*2) )* (-1); //DONE 8,9,10,11,12
|
| 893 |
+
break;
|
| 894 |
+
case 10:
|
| 895 |
+
if(self.options.zoomWindowHeight > self.nzHeight){ //positive margin
|
| 896 |
+
|
| 897 |
+
self.windowOffsetTop = ((self.options.zoomWindowHeight/2)-(self.nzHeight/2))*(-1);
|
| 898 |
+
self.windowOffsetLeft =(self.zoomWindow.width()+(self.options.borderSize*2) )* (-1); //DONE 8,9,10,11,12
|
| 899 |
+
}
|
| 900 |
+
else{ //negative margin
|
| 901 |
+
|
| 902 |
+
}
|
| 903 |
+
break;
|
| 904 |
+
case 11:
|
| 905 |
+
self.windowOffsetTop = (self.options.zoomWindowOffety);
|
| 906 |
+
self.windowOffsetLeft =(self.zoomWindow.width()+(self.options.borderSize*2) )* (-1); //DONE 8,9,10,11,12
|
| 907 |
+
break;
|
| 908 |
+
case 12: //done
|
| 909 |
+
self.windowOffsetTop = (self.zoomWindow.height()+(self.options.borderSize*2))*(-1); //DONE 12,13,14,15,16
|
| 910 |
+
self.windowOffsetLeft =(self.zoomWindow.width()+(self.options.borderSize*2) )* (-1); //DONE 8,9,10,11,12
|
| 911 |
+
break;
|
| 912 |
+
case 13: //done
|
| 913 |
+
self.windowOffsetTop = (self.zoomWindow.height()+(self.options.borderSize*2))*(-1); //DONE 12,13,14,15,16
|
| 914 |
+
self.windowOffsetLeft =(0); //DONE 7, 13
|
| 915 |
+
break;
|
| 916 |
+
case 14:
|
| 917 |
+
if(self.options.zoomWindowHeight > self.nzHeight){ //positive margin
|
| 918 |
+
self.windowOffsetTop = (self.zoomWindow.height()+(self.options.borderSize*2))*(-1); //DONE 12,13,14,15,16
|
| 919 |
+
|
| 920 |
+
self.windowOffsetLeft =((self.options.zoomWindowWidth/2)-(self.nzWidth/2)+(self.options.borderSize*2))*(-1);
|
| 921 |
+
}
|
| 922 |
+
else{ //negative margin
|
| 923 |
+
|
| 924 |
+
}
|
| 925 |
+
|
| 926 |
+
break;
|
| 927 |
+
case 15://done
|
| 928 |
+
self.windowOffsetTop = (self.zoomWindow.height()+(self.options.borderSize*2))*(-1); //DONE 12,13,14,15,16
|
| 929 |
+
self.windowOffsetLeft =(self.nzWidth-self.zoomWindow.width()-(self.options.borderSize*2)); //DONE - 5,15
|
| 930 |
+
break;
|
| 931 |
+
case 16: //done
|
| 932 |
+
self.windowOffsetTop = (self.zoomWindow.height()+(self.options.borderSize*2))*(-1); //DONE 12,13,14,15,16
|
| 933 |
+
self.windowOffsetLeft =(self.nzWidth); //DONE 1, 2, 3, 4, 16
|
| 934 |
+
break;
|
| 935 |
+
default: //done
|
| 936 |
+
self.windowOffsetTop = (self.options.zoomWindowOffety);//DONE - 1
|
| 937 |
+
self.windowOffsetLeft =(self.nzWidth); //DONE 1, 2, 3, 4, 16
|
| 938 |
+
}
|
| 939 |
+
} //end isNAN
|
| 940 |
+
else{
|
| 941 |
+
//WE CAN POSITION IN A CLASS - ASSUME THAT ANY STRING PASSED IS
|
| 942 |
+
self.externalContainer = $('#'+self.options.zoomWindowPosition);
|
| 943 |
+
self.externalContainerWidth = self.externalContainer.width();
|
| 944 |
+
self.externalContainerHeight = self.externalContainer.height();
|
| 945 |
+
self.externalContainerOffset = self.externalContainer.offset();
|
| 946 |
+
|
| 947 |
+
self.windowOffsetTop = self.externalContainerOffset.top;//DONE - 1
|
| 948 |
+
self.windowOffsetLeft =self.externalContainerOffset.left; //DONE 1, 2, 3, 4, 16
|
| 949 |
+
|
| 950 |
+
}
|
| 951 |
+
self.isWindowSet = true;
|
| 952 |
+
self.windowOffsetTop = self.windowOffsetTop + self.options.zoomWindowOffety;
|
| 953 |
+
self.windowOffsetLeft = self.windowOffsetLeft + self.options.zoomWindowOffetx;
|
| 954 |
+
|
| 955 |
+
self.zoomWindow.css({ top: self.windowOffsetTop});
|
| 956 |
+
self.zoomWindow.css({ left: self.windowOffsetLeft});
|
| 957 |
+
|
| 958 |
+
if(self.options.zoomType == "inner") {
|
| 959 |
+
self.zoomWindow.css({ top: 0});
|
| 960 |
+
self.zoomWindow.css({ left: 0});
|
| 961 |
+
|
| 962 |
+
}
|
| 963 |
+
|
| 964 |
+
|
| 965 |
+
self.windowLeftPos = String(((e.pageX - self.nzOffset.left) * self.widthRatio - self.zoomWindow.width() / 2) * (-1));
|
| 966 |
+
self.windowTopPos = String(((e.pageY - self.nzOffset.top) * self.heightRatio - self.zoomWindow.height() / 2) * (-1));
|
| 967 |
+
if(self.Etoppos){self.windowTopPos = 0;}
|
| 968 |
+
if(self.Eloppos){self.windowLeftPos = 0;}
|
| 969 |
+
if(self.Eboppos){self.windowTopPos = (self.largeHeight/self.currentZoomLevel-self.zoomWindow.height())*(-1); }
|
| 970 |
+
if(self.Eroppos){self.windowLeftPos = ((self.largeWidth/self.currentZoomLevel-self.zoomWindow.width())*(-1));}
|
| 971 |
+
|
| 972 |
+
//stops micro movements
|
| 973 |
+
if(self.fullheight){
|
| 974 |
+
self.windowTopPos = 0;
|
| 975 |
+
|
| 976 |
+
}
|
| 977 |
+
if(self.fullwidth){
|
| 978 |
+
self.windowLeftPos = 0;
|
| 979 |
+
|
| 980 |
+
}
|
| 981 |
+
//set the css background position
|
| 982 |
+
|
| 983 |
+
|
| 984 |
+
if(self.options.zoomType == "window" || self.options.zoomType == "inner") {
|
| 985 |
+
|
| 986 |
+
if(self.zoomLock == 1){
|
| 987 |
+
//overrides for images not zoomable
|
| 988 |
+
if(self.widthRatio <= 1){
|
| 989 |
+
|
| 990 |
+
self.windowLeftPos = 0;
|
| 991 |
+
}
|
| 992 |
+
if(self.heightRatio <= 1){
|
| 993 |
+
self.windowTopPos = 0;
|
| 994 |
+
}
|
| 995 |
+
}
|
| 996 |
+
// adjust images less than the window height
|
| 997 |
+
|
| 998 |
+
if(self.largeHeight < self.options.zoomWindowHeight){
|
| 999 |
+
|
| 1000 |
+
self.windowTopPos = 0;
|
| 1001 |
+
}
|
| 1002 |
+
if(self.largeWidth < self.options.zoomWindowWidth){
|
| 1003 |
+
self.windowLeftPos = 0;
|
| 1004 |
+
}
|
| 1005 |
+
|
| 1006 |
+
//set the zoomwindow background position
|
| 1007 |
+
if (self.options.easing){
|
| 1008 |
+
|
| 1009 |
+
// if(self.changeZoom){
|
| 1010 |
+
// clearInterval(self.loop);
|
| 1011 |
+
// self.changeZoom = false;
|
| 1012 |
+
// self.loop = false;
|
| 1013 |
+
|
| 1014 |
+
// }
|
| 1015 |
+
//set the pos to 0 if not set
|
| 1016 |
+
if(!self.xp){self.xp = 0;}
|
| 1017 |
+
if(!self.yp){self.yp = 0;}
|
| 1018 |
+
//if loop not already started, then run it
|
| 1019 |
+
if (!self.loop){
|
| 1020 |
+
self.loop = setInterval(function(){
|
| 1021 |
+
//using zeno's paradox
|
| 1022 |
+
|
| 1023 |
+
self.xp += (self.windowLeftPos - self.xp) / self.options.easingAmount;
|
| 1024 |
+
self.yp += (self.windowTopPos - self.yp) / self.options.easingAmount;
|
| 1025 |
+
if(self.scrollingLock){
|
| 1026 |
+
|
| 1027 |
+
|
| 1028 |
+
clearInterval(self.loop);
|
| 1029 |
+
self.xp = self.windowLeftPos;
|
| 1030 |
+
self.yp = self.windowTopPos
|
| 1031 |
+
|
| 1032 |
+
self.xp = ((e.pageX - self.nzOffset.left) * self.widthRatio - self.zoomWindow.width() / 2) * (-1);
|
| 1033 |
+
self.yp = (((e.pageY - self.nzOffset.top) * self.heightRatio - self.zoomWindow.height() / 2) * (-1));
|
| 1034 |
+
|
| 1035 |
+
if(self.changeBgSize){
|
| 1036 |
+
if(self.nzHeight>self.nzWidth){
|
| 1037 |
+
if(self.options.zoomType == "lens"){
|
| 1038 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
| 1039 |
+
}
|
| 1040 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
| 1041 |
+
}
|
| 1042 |
+
else{
|
| 1043 |
+
if(self.options.zoomType != "lens"){
|
| 1044 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
| 1045 |
+
}
|
| 1046 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvaluewidth + 'px' });
|
| 1047 |
+
|
| 1048 |
+
}
|
| 1049 |
|
| 1050 |
+
/*
|
| 1051 |
if(!self.bgxp){self.bgxp = self.largeWidth/self.newvalue;}
|
| 1052 |
+
if(!self.bgyp){self.bgyp = self.largeHeight/self.newvalue ;}
|
| 1053 |
+
if (!self.bgloop){
|
| 1054 |
+
self.bgloop = setInterval(function(){
|
| 1055 |
|
| 1056 |
+
self.bgxp += (self.largeWidth/self.newvalue - self.bgxp) / self.options.easingAmount;
|
| 1057 |
+
self.bgyp += (self.largeHeight/self.newvalue - self.bgyp) / self.options.easingAmount;
|
| 1058 |
|
| 1059 |
self.zoomWindow.css({ "background-size": self.bgxp + 'px ' + self.bgyp + 'px' });
|
| 1060 |
|
| 1062 |
}, 16);
|
| 1063 |
|
| 1064 |
}
|
| 1065 |
+
*/
|
| 1066 |
+
self.changeBgSize = false;
|
| 1067 |
+
}
|
| 1068 |
+
|
| 1069 |
+
self.zoomWindow.css({ backgroundPosition: self.windowLeftPos + 'px ' + self.windowTopPos + 'px' });
|
| 1070 |
+
self.scrollingLock = false;
|
| 1071 |
+
self.loop = false;
|
| 1072 |
+
|
| 1073 |
+
}
|
| 1074 |
+
else{
|
| 1075 |
+
if(self.changeBgSize){
|
| 1076 |
+
if(self.nzHeight>self.nzWidth){
|
| 1077 |
+
if(self.options.zoomType == "lens"){
|
| 1078 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
| 1079 |
+
}
|
| 1080 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
| 1081 |
+
}
|
| 1082 |
+
else{
|
| 1083 |
+
if(self.options.zoomType != "lens"){
|
| 1084 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvaluewidth + 'px' });
|
| 1085 |
+
}
|
| 1086 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvaluewidth + 'px' });
|
| 1087 |
+
}
|
| 1088 |
+
self.changeBgSize = false;
|
| 1089 |
+
}
|
| 1090 |
+
|
| 1091 |
+
self.zoomWindow.css({ backgroundPosition: self.xp + 'px ' + self.yp + 'px' });
|
| 1092 |
+
}
|
| 1093 |
+
}, 16);
|
| 1094 |
+
}
|
| 1095 |
+
}
|
| 1096 |
+
else{
|
| 1097 |
+
if(self.changeBgSize){
|
| 1098 |
+
if(self.nzHeight>self.nzWidth){
|
| 1099 |
+
if(self.options.zoomType == "lens"){
|
| 1100 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
| 1101 |
+
}
|
| 1102 |
+
|
| 1103 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
| 1104 |
+
}
|
| 1105 |
+
else{
|
| 1106 |
+
if(self.options.zoomType == "lens"){
|
| 1107 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvaluewidth + 'px' });
|
| 1108 |
+
}
|
| 1109 |
+
if((self.largeHeight/self.newvaluewidth) < self.options.zoomWindowHeight){
|
| 1110 |
+
|
| 1111 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvaluewidth + 'px' });
|
| 1112 |
+
}
|
| 1113 |
+
else{
|
| 1114 |
+
|
| 1115 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
| 1116 |
+
}
|
| 1117 |
+
|
| 1118 |
+
}
|
| 1119 |
+
self.changeBgSize = false;
|
| 1120 |
+
}
|
| 1121 |
+
|
| 1122 |
+
self.zoomWindow.css({ backgroundPosition: self.windowLeftPos + 'px ' + self.windowTopPos + 'px' });
|
| 1123 |
+
}
|
| 1124 |
+
}
|
| 1125 |
+
},
|
| 1126 |
+
setTintPosition: function(e){
|
| 1127 |
+
var self = this;
|
| 1128 |
+
self.nzOffset = self.$elem.offset();
|
| 1129 |
+
self.tintpos = String(((e.pageX - self.nzOffset.left)-(self.zoomLens.width() / 2)) * (-1));
|
| 1130 |
+
self.tintposy = String(((e.pageY - self.nzOffset.top) - self.zoomLens.height() / 2) * (-1));
|
| 1131 |
+
if(self.Etoppos){
|
| 1132 |
+
self.tintposy = 0;
|
| 1133 |
+
}
|
| 1134 |
+
if(self.Eloppos){
|
| 1135 |
+
self.tintpos=0;
|
| 1136 |
+
}
|
| 1137 |
+
if(self.Eboppos){
|
| 1138 |
+
self.tintposy = (self.nzHeight-self.zoomLens.height()-(self.options.lensBorderSize*2))*(-1);
|
| 1139 |
+
}
|
| 1140 |
+
if(self.Eroppos){
|
| 1141 |
+
self.tintpos = ((self.nzWidth-self.zoomLens.width()-(self.options.lensBorderSize*2))*(-1));
|
| 1142 |
+
}
|
| 1143 |
+
if(self.options.tint) {
|
| 1144 |
+
//stops micro movements
|
| 1145 |
+
if(self.fullheight){
|
| 1146 |
+
self.tintposy = 0;
|
| 1147 |
+
|
| 1148 |
+
}
|
| 1149 |
+
if(self.fullwidth){
|
| 1150 |
+
self.tintpos = 0;
|
| 1151 |
+
|
| 1152 |
+
}
|
| 1153 |
+
self.zoomTintImage.css({'left': self.tintpos+'px'});
|
| 1154 |
+
self.zoomTintImage.css({'top': self.tintposy+'px'});
|
| 1155 |
+
}
|
| 1156 |
+
},
|
| 1157 |
+
|
| 1158 |
+
swaptheimage: function(smallimage, largeimage){
|
| 1159 |
+
var self = this;
|
| 1160 |
+
var newImg = new Image();
|
| 1161 |
+
|
| 1162 |
+
if(self.options.loadingIcon){
|
| 1163 |
+
self.spinner = $('<div style="background: url(\''+self.options.loadingIcon+'\') no-repeat center;height:'+self.nzHeight+'px;width:'+self.nzWidth+'px;z-index: 2000;position: absolute; background-position: center center;"></div>');
|
| 1164 |
+
self.$elem.after(self.spinner);
|
| 1165 |
+
}
|
| 1166 |
+
|
| 1167 |
+
self.options.onImageSwap(self.$elem);
|
| 1168 |
+
|
| 1169 |
+
newImg.onload = function() {
|
| 1170 |
+
self.largeWidth = newImg.width;
|
| 1171 |
+
self.largeHeight = newImg.height;
|
| 1172 |
+
self.zoomImage = largeimage;
|
| 1173 |
+
self.zoomWindow.css({ "background-size": self.largeWidth + 'px ' + self.largeHeight + 'px' });
|
| 1174 |
+
self.zoomWindow.css({ "background-size": self.largeWidth + 'px ' + self.largeHeight + 'px' });
|
| 1175 |
+
|
| 1176 |
+
|
| 1177 |
+
self.swapAction(smallimage, largeimage);
|
| 1178 |
+
return;
|
| 1179 |
+
}
|
| 1180 |
+
newImg.src = largeimage; // this must be done AFTER setting onload
|
| 1181 |
+
|
| 1182 |
+
},
|
| 1183 |
+
swapAction: function(smallimage, largeimage){
|
| 1184 |
+
|
| 1185 |
+
|
| 1186 |
+
var self = this;
|
| 1187 |
+
|
| 1188 |
+
var newImg2 = new Image();
|
| 1189 |
+
newImg2.onload = function() {
|
| 1190 |
+
//re-calculate values
|
| 1191 |
+
self.nzHeight = newImg2.height;
|
| 1192 |
+
self.nzWidth = newImg2.width;
|
| 1193 |
+
self.options.onImageSwapComplete(self.$elem);
|
| 1194 |
+
|
| 1195 |
+
self.doneCallback();
|
| 1196 |
+
return;
|
| 1197 |
+
}
|
| 1198 |
+
newImg2.src = smallimage;
|
| 1199 |
+
|
| 1200 |
+
//reset the zoomlevel to that initially set in options
|
| 1201 |
+
self.currentZoomLevel = self.options.zoomLevel;
|
| 1202 |
+
self.options.maxZoomLevel = false;
|
| 1203 |
+
|
| 1204 |
+
//swaps the main image
|
| 1205 |
+
//self.$elem.attr("src",smallimage);
|
| 1206 |
+
//swaps the zoom image
|
| 1207 |
+
if(self.options.zoomType == "lens") {
|
| 1208 |
+
self.zoomLens.css({ backgroundImage: "url('" + largeimage + "')" });
|
| 1209 |
+
}
|
| 1210 |
+
if(self.options.zoomType == "window") {
|
| 1211 |
+
self.zoomWindow.css({ backgroundImage: "url('" + largeimage + "')" });
|
| 1212 |
+
}
|
| 1213 |
+
if(self.options.zoomType == "inner") {
|
| 1214 |
+
self.zoomWindow.css({ backgroundImage: "url('" + largeimage + "')" });
|
| 1215 |
+
}
|
| 1216 |
+
|
| 1217 |
+
|
| 1218 |
+
|
| 1219 |
+
self.currentImage = largeimage;
|
| 1220 |
+
|
| 1221 |
+
if(self.options.imageCrossfade){
|
| 1222 |
+
var oldImg = self.$elem;
|
| 1223 |
+
var newImg = oldImg.clone();
|
| 1224 |
+
self.$elem.attr("src",smallimage)
|
| 1225 |
+
self.$elem.after(newImg);
|
| 1226 |
+
newImg.stop(true).fadeOut(self.options.imageCrossfade, function() {
|
| 1227 |
+
$(this).remove();
|
| 1228 |
+
});
|
| 1229 |
+
|
| 1230 |
+
// if(self.options.zoomType == "inner"){
|
| 1231 |
+
//remove any attributes on the cloned image so we can resize later
|
| 1232 |
+
self.$elem.width("auto").removeAttr("width");
|
| 1233 |
+
self.$elem.height("auto").removeAttr("height");
|
| 1234 |
+
// }
|
| 1235 |
+
|
| 1236 |
+
oldImg.fadeIn(self.options.imageCrossfade);
|
| 1237 |
+
|
| 1238 |
+
if(self.options.tint && self.options.zoomType != "inner") {
|
| 1239 |
+
|
| 1240 |
+
var oldImgTint = self.zoomTintImage;
|
| 1241 |
+
var newImgTint = oldImgTint.clone();
|
| 1242 |
+
self.zoomTintImage.attr("src",largeimage)
|
| 1243 |
+
self.zoomTintImage.after(newImgTint);
|
| 1244 |
+
newImgTint.stop(true).fadeOut(self.options.imageCrossfade, function() {
|
| 1245 |
+
$(this).remove();
|
| 1246 |
+
});
|
| 1247 |
+
|
| 1248 |
+
|
| 1249 |
+
|
| 1250 |
+
oldImgTint.fadeIn(self.options.imageCrossfade);
|
| 1251 |
+
|
| 1252 |
+
|
| 1253 |
+
//self.zoomTintImage.attr("width",elem.data("image"));
|
| 1254 |
+
|
| 1255 |
+
//resize the tint window
|
| 1256 |
+
self.zoomTint.css({ height: self.$elem.height()});
|
| 1257 |
+
self.zoomTint.css({ width: self.$elem.width()});
|
| 1258 |
+
}
|
| 1259 |
+
|
| 1260 |
+
self.zoomContainer.css("height", self.$elem.height());
|
| 1261 |
+
self.zoomContainer.css("width", self.$elem.width());
|
| 1262 |
+
|
| 1263 |
+
if(self.options.zoomType == "inner"){
|
| 1264 |
+
if(!self.options.constrainType){
|
| 1265 |
+
self.zoomWrap.parent().css("height", self.$elem.height());
|
| 1266 |
+
self.zoomWrap.parent().css("width", self.$elem.width());
|
| 1267 |
+
|
| 1268 |
+
self.zoomWindow.css("height", self.$elem.height());
|
| 1269 |
+
self.zoomWindow.css("width", self.$elem.width());
|
| 1270 |
+
}
|
| 1271 |
+
}
|
| 1272 |
+
|
| 1273 |
+
if(self.options.imageCrossfade){
|
| 1274 |
+
self.zoomWrap.css("height", self.$elem.height());
|
| 1275 |
+
self.zoomWrap.css("width", self.$elem.width());
|
| 1276 |
+
}
|
| 1277 |
+
}
|
| 1278 |
+
else{
|
| 1279 |
+
self.$elem.attr("src",smallimage);
|
| 1280 |
+
if(self.options.tint) {
|
| 1281 |
+
self.zoomTintImage.attr("src",largeimage);
|
| 1282 |
+
//self.zoomTintImage.attr("width",elem.data("image"));
|
| 1283 |
+
self.zoomTintImage.attr("height",self.$elem.height());
|
| 1284 |
+
//self.zoomTintImage.attr('src') = elem.data("image");
|
| 1285 |
+
self.zoomTintImage.css({ height: self.$elem.height()});
|
| 1286 |
+
self.zoomTint.css({ height: self.$elem.height()});
|
| 1287 |
+
|
| 1288 |
+
}
|
| 1289 |
+
self.zoomContainer.css("height", self.$elem.height());
|
| 1290 |
+
self.zoomContainer.css("width", self.$elem.width());
|
| 1291 |
+
|
| 1292 |
+
if(self.options.imageCrossfade){
|
| 1293 |
+
self.zoomWrap.css("height", self.$elem.height());
|
| 1294 |
+
self.zoomWrap.css("width", self.$elem.width());
|
| 1295 |
+
}
|
| 1296 |
+
}
|
| 1297 |
+
if(self.options.constrainType){
|
| 1298 |
+
|
| 1299 |
+
//This will contrain the image proportions
|
| 1300 |
+
if(self.options.constrainType == "height"){
|
| 1301 |
+
|
| 1302 |
+
self.zoomContainer.css("height", self.options.constrainSize);
|
| 1303 |
+
self.zoomContainer.css("width", "auto");
|
| 1304 |
+
|
| 1305 |
+
if(self.options.imageCrossfade){
|
| 1306 |
+
self.zoomWrap.css("height", self.options.constrainSize);
|
| 1307 |
+
self.zoomWrap.css("width", "auto");
|
| 1308 |
+
self.constwidth = self.zoomWrap.width();
|
| 1309 |
+
|
| 1310 |
+
|
| 1311 |
+
}
|
| 1312 |
+
else{
|
| 1313 |
+
self.$elem.css("height", self.options.constrainSize);
|
| 1314 |
+
self.$elem.css("width", "auto");
|
| 1315 |
+
self.constwidth = self.$elem.width();
|
| 1316 |
+
}
|
| 1317 |
+
|
| 1318 |
+
if(self.options.zoomType == "inner"){
|
| 1319 |
+
|
| 1320 |
+
self.zoomWrap.parent().css("height", self.options.constrainSize);
|
| 1321 |
+
self.zoomWrap.parent().css("width", self.constwidth);
|
| 1322 |
+
self.zoomWindow.css("height", self.options.constrainSize);
|
| 1323 |
+
self.zoomWindow.css("width", self.constwidth);
|
| 1324 |
+
}
|
| 1325 |
+
if(self.options.tint){
|
| 1326 |
+
self.tintContainer.css("height", self.options.constrainSize);
|
| 1327 |
+
self.tintContainer.css("width", self.constwidth);
|
| 1328 |
+
self.zoomTint.css("height", self.options.constrainSize);
|
| 1329 |
+
self.zoomTint.css("width", self.constwidth);
|
| 1330 |
+
self.zoomTintImage.css("height", self.options.constrainSize);
|
| 1331 |
+
self.zoomTintImage.css("width", self.constwidth);
|
| 1332 |
+
}
|
| 1333 |
+
|
| 1334 |
+
}
|
| 1335 |
+
if(self.options.constrainType == "width"){
|
| 1336 |
+
self.zoomContainer.css("height", "auto");
|
| 1337 |
+
self.zoomContainer.css("width", self.options.constrainSize);
|
| 1338 |
+
|
| 1339 |
+
if(self.options.imageCrossfade){
|
| 1340 |
+
self.zoomWrap.css("height", "auto");
|
| 1341 |
+
self.zoomWrap.css("width", self.options.constrainSize);
|
| 1342 |
+
self.constheight = self.zoomWrap.height();
|
| 1343 |
+
}
|
| 1344 |
+
else{
|
| 1345 |
+
self.$elem.css("height", "auto");
|
| 1346 |
+
self.$elem.css("width", self.options.constrainSize);
|
| 1347 |
+
self.constheight = self.$elem.height();
|
| 1348 |
+
}
|
| 1349 |
+
if(self.options.zoomType == "inner"){
|
| 1350 |
+
self.zoomWrap.parent().css("height", self.constheight);
|
| 1351 |
+
self.zoomWrap.parent().css("width", self.options.constrainSize);
|
| 1352 |
+
self.zoomWindow.css("height", self.constheight);
|
| 1353 |
+
self.zoomWindow.css("width", self.options.constrainSize);
|
| 1354 |
+
}
|
| 1355 |
+
if(self.options.tint){
|
| 1356 |
+
self.tintContainer.css("height", self.constheight);
|
| 1357 |
+
self.tintContainer.css("width", self.options.constrainSize);
|
| 1358 |
+
self.zoomTint.css("height", self.constheight);
|
| 1359 |
+
self.zoomTint.css("width", self.options.constrainSize);
|
| 1360 |
+
self.zoomTintImage.css("height", self.constheight);
|
| 1361 |
+
self.zoomTintImage.css("width", self.options.constrainSize);
|
| 1362 |
+
}
|
| 1363 |
+
|
| 1364 |
+
}
|
| 1365 |
+
|
| 1366 |
+
|
| 1367 |
+
}
|
| 1368 |
+
|
| 1369 |
+
},
|
| 1370 |
+
doneCallback: function(){
|
| 1371 |
+
|
| 1372 |
+
var self = this;
|
| 1373 |
+
if(self.options.loadingIcon){
|
| 1374 |
+
self.spinner.hide();
|
| 1375 |
+
}
|
| 1376 |
+
|
| 1377 |
+
self.nzOffset = self.$elem.offset();
|
| 1378 |
+
self.nzWidth = self.$elem.width();
|
| 1379 |
+
self.nzHeight = self.$elem.height();
|
| 1380 |
+
|
| 1381 |
+
// reset the zoomlevel back to default
|
| 1382 |
+
self.currentZoomLevel = self.options.zoomLevel;
|
| 1383 |
+
|
| 1384 |
+
//ratio of the large to small image
|
| 1385 |
+
self.widthRatio = self.largeWidth / self.nzWidth;
|
| 1386 |
+
self.heightRatio = self.largeHeight / self.nzHeight;
|
| 1387 |
+
|
| 1388 |
+
//NEED TO ADD THE LENS SIZE FOR ROUND
|
| 1389 |
+
// adjust images less than the window height
|
| 1390 |
+
if(self.options.zoomType == "window") {
|
| 1391 |
+
|
| 1392 |
+
if(self.nzHeight < self.options.zoomWindowWidth/self.widthRatio){
|
| 1393 |
+
lensHeight = self.nzHeight;
|
| 1394 |
+
|
| 1395 |
+
}
|
| 1396 |
+
else{
|
| 1397 |
+
lensHeight = String((self.options.zoomWindowHeight/self.heightRatio))
|
| 1398 |
+
}
|
| 1399 |
+
|
| 1400 |
+
if(self.options.zoomWindowWidth < self.options.zoomWindowWidth){
|
| 1401 |
+
lensWidth = self.nzWidth;
|
| 1402 |
+
}
|
| 1403 |
+
else{
|
| 1404 |
+
lensWidth = (self.options.zoomWindowWidth/self.widthRatio);
|
| 1405 |
+
}
|
| 1406 |
+
|
| 1407 |
+
|
| 1408 |
+
if(self.zoomLens){
|
| 1409 |
+
|
| 1410 |
+
self.zoomLens.css('width', lensWidth);
|
| 1411 |
+
self.zoomLens.css('height', lensHeight);
|
| 1412 |
+
|
| 1413 |
+
|
| 1414 |
+
}
|
| 1415 |
+
}
|
| 1416 |
+
},
|
| 1417 |
+
getCurrentImage: function(){
|
| 1418 |
+
var self = this;
|
| 1419 |
+
return self.zoomImage;
|
| 1420 |
+
},
|
| 1421 |
+
getGalleryList: function(){
|
| 1422 |
+
var self = this;
|
| 1423 |
+
//loop through the gallery options and set them in list for fancybox
|
| 1424 |
+
self.gallerylist = [];
|
| 1425 |
+
if (self.options.gallery){
|
| 1426 |
+
|
| 1427 |
+
|
| 1428 |
+
$('#'+self.options.gallery + ' a').each(function() {
|
| 1429 |
+
|
| 1430 |
+
var img_src = '';
|
| 1431 |
+
if($(this).data("zoom-image")){
|
| 1432 |
+
img_src = $(this).data("zoom-image");
|
| 1433 |
+
}
|
| 1434 |
+
else if($(this).data("image")){
|
| 1435 |
+
img_src = $(this).data("image");
|
| 1436 |
+
}
|
| 1437 |
+
//put the current image at the start
|
| 1438 |
+
if(img_src == self.zoomImage){
|
| 1439 |
+
self.gallerylist.unshift({
|
| 1440 |
+
href: ''+img_src+'',
|
| 1441 |
+
title: $(this).find('img').attr("title")
|
| 1442 |
+
});
|
| 1443 |
+
}
|
| 1444 |
+
else{
|
| 1445 |
+
self.gallerylist.push({
|
| 1446 |
+
href: ''+img_src+'',
|
| 1447 |
+
title: $(this).find('img').attr("title")
|
| 1448 |
+
});
|
| 1449 |
+
}
|
| 1450 |
|
| 1451 |
|
| 1452 |
+
});
|
| 1453 |
+
}
|
| 1454 |
+
//if no gallery - return current image
|
| 1455 |
+
else{
|
| 1456 |
+
self.gallerylist.push({
|
| 1457 |
+
href: ''+self.zoomImage+'',
|
| 1458 |
+
title: $(this).find('img').attr("title")
|
| 1459 |
+
});
|
| 1460 |
+
}
|
| 1461 |
+
return self.gallerylist;
|
| 1462 |
|
| 1463 |
+
},
|
| 1464 |
+
changeZoomLevel: function(value){
|
| 1465 |
+
var self = this;
|
| 1466 |
|
| 1467 |
+
//flag a zoom, so can adjust the easing during setPosition
|
| 1468 |
+
self.scrollingLock = true;
|
| 1469 |
|
| 1470 |
+
//round to two decimal places
|
| 1471 |
+
self.newvalue = parseFloat(value).toFixed(2);
|
| 1472 |
+
newvalue = parseFloat(value).toFixed(2);
|
| 1473 |
|
| 1474 |
|
| 1475 |
|
| 1476 |
|
| 1477 |
+
//maxwidth & Maxheight of the image
|
| 1478 |
+
maxheightnewvalue = self.largeHeight/((self.options.zoomWindowHeight / self.nzHeight) * self.nzHeight);
|
| 1479 |
+
maxwidthtnewvalue = self.largeWidth/((self.options.zoomWindowWidth / self.nzWidth) * self.nzWidth);
|
| 1480 |
|
| 1481 |
|
| 1482 |
|
| 1483 |
|
| 1484 |
+
//calculate new heightratio
|
| 1485 |
+
if(self.options.zoomType != "inner")
|
| 1486 |
+
{
|
| 1487 |
+
if(maxheightnewvalue <= newvalue){
|
| 1488 |
+
self.heightRatio = (self.largeHeight/maxheightnewvalue) / self.nzHeight;
|
| 1489 |
+
self.newvalueheight = maxheightnewvalue;
|
| 1490 |
+
self.fullheight = true;
|
| 1491 |
|
| 1492 |
+
}
|
| 1493 |
+
else{
|
| 1494 |
+
self.heightRatio = (self.largeHeight/newvalue) / self.nzHeight;
|
| 1495 |
+
self.newvalueheight = newvalue;
|
| 1496 |
+
self.fullheight = false;
|
| 1497 |
|
| 1498 |
+
}
|
| 1499 |
|
| 1500 |
|
| 1501 |
// calculate new width ratio
|
| 1502 |
|
| 1503 |
+
if(maxwidthtnewvalue <= newvalue){
|
| 1504 |
+
self.widthRatio = (self.largeWidth/maxwidthtnewvalue) / self.nzWidth;
|
| 1505 |
+
self.newvaluewidth = maxwidthtnewvalue;
|
| 1506 |
+
self.fullwidth = true;
|
| 1507 |
|
| 1508 |
+
}
|
| 1509 |
+
else{
|
| 1510 |
+
self.widthRatio = (self.largeWidth/newvalue) / self.nzWidth;
|
| 1511 |
+
self.newvaluewidth = newvalue;
|
| 1512 |
+
self.fullwidth = false;
|
| 1513 |
|
| 1514 |
+
}
|
| 1515 |
+
if(self.options.zoomType == "lens"){
|
| 1516 |
+
if(maxheightnewvalue <= newvalue){
|
| 1517 |
+
self.fullwidth = true;
|
| 1518 |
+
self.newvaluewidth = maxheightnewvalue;
|
| 1519 |
|
| 1520 |
+
} else{
|
| 1521 |
+
self.widthRatio = (self.largeWidth/newvalue) / self.nzWidth;
|
| 1522 |
+
self.newvaluewidth = newvalue;
|
| 1523 |
|
| 1524 |
+
self.fullwidth = false;
|
| 1525 |
+
}}
|
| 1526 |
+
}
|
| 1527 |
|
| 1528 |
|
| 1529 |
|
| 1530 |
+
if(self.options.zoomType == "inner")
|
| 1531 |
+
{
|
| 1532 |
+
maxheightnewvalue = parseFloat(self.largeHeight/self.nzHeight).toFixed(2);
|
| 1533 |
+
maxwidthtnewvalue = parseFloat(self.largeWidth/self.nzWidth).toFixed(2);
|
| 1534 |
+
if(newvalue > maxheightnewvalue){
|
| 1535 |
+
newvalue = maxheightnewvalue;
|
| 1536 |
+
}
|
| 1537 |
+
if(newvalue > maxwidthtnewvalue){
|
| 1538 |
+
newvalue = maxwidthtnewvalue;
|
| 1539 |
+
}
|
| 1540 |
|
| 1541 |
|
| 1542 |
+
if(maxheightnewvalue <= newvalue){
|
| 1543 |
|
| 1544 |
|
| 1545 |
+
self.heightRatio = (self.largeHeight/newvalue) / self.nzHeight;
|
| 1546 |
+
if(newvalue > maxheightnewvalue){
|
| 1547 |
+
self.newvalueheight = maxheightnewvalue;
|
| 1548 |
+
}else{
|
| 1549 |
+
self.newvalueheight = newvalue;
|
| 1550 |
+
}
|
| 1551 |
+
self.fullheight = true;
|
| 1552 |
|
| 1553 |
|
| 1554 |
+
}
|
| 1555 |
+
else{
|
| 1556 |
|
| 1557 |
|
| 1558 |
|
| 1559 |
+
self.heightRatio = (self.largeHeight/newvalue) / self.nzHeight;
|
| 1560 |
|
| 1561 |
+
if(newvalue > maxheightnewvalue){
|
| 1562 |
|
| 1563 |
+
self.newvalueheight = maxheightnewvalue;
|
| 1564 |
+
}else{
|
| 1565 |
+
self.newvalueheight = newvalue;
|
| 1566 |
+
}
|
| 1567 |
+
self.fullheight = false;
|
| 1568 |
+
}
|
| 1569 |
|
| 1570 |
|
| 1571 |
|
| 1572 |
|
| 1573 |
+
if(maxwidthtnewvalue <= newvalue){
|
| 1574 |
|
| 1575 |
+
self.widthRatio = (self.largeWidth/newvalue) / self.nzWidth;
|
| 1576 |
+
if(newvalue > maxwidthtnewvalue){
|
| 1577 |
|
| 1578 |
+
self.newvaluewidth = maxwidthtnewvalue;
|
| 1579 |
+
}else{
|
| 1580 |
+
self.newvaluewidth = newvalue;
|
| 1581 |
+
}
|
| 1582 |
|
| 1583 |
+
self.fullwidth = true;
|
| 1584 |
|
| 1585 |
|
| 1586 |
+
}
|
| 1587 |
+
else{
|
| 1588 |
|
| 1589 |
+
self.widthRatio = (self.largeWidth/newvalue) / self.nzWidth;
|
| 1590 |
+
self.newvaluewidth = newvalue;
|
| 1591 |
+
self.fullwidth = false;
|
| 1592 |
+
}
|
| 1593 |
|
| 1594 |
|
| 1595 |
+
} //end inner
|
| 1596 |
+
scrcontinue = false;
|
| 1597 |
|
| 1598 |
+
if(self.options.zoomType == "inner"){
|
| 1599 |
|
| 1600 |
+
if(self.nzWidth > self.nzHeight){
|
| 1601 |
+
if( self.newvaluewidth <= maxwidthtnewvalue){
|
| 1602 |
+
scrcontinue = true;
|
| 1603 |
+
}
|
| 1604 |
+
else{
|
| 1605 |
|
| 1606 |
+
scrcontinue = false;
|
| 1607 |
+
self.fullheight = true;
|
| 1608 |
+
self.fullwidth = true;
|
| 1609 |
+
}
|
| 1610 |
+
}
|
| 1611 |
+
if(self.nzHeight > self.nzWidth){
|
| 1612 |
+
if( self.newvaluewidth <= maxwidthtnewvalue){
|
| 1613 |
+
scrcontinue = true;
|
| 1614 |
+
}
|
| 1615 |
+
else{
|
| 1616 |
+
scrcontinue = false;
|
| 1617 |
|
| 1618 |
+
self.fullheight = true;
|
| 1619 |
+
self.fullwidth = true;
|
| 1620 |
+
}
|
| 1621 |
+
}
|
| 1622 |
+
}
|
| 1623 |
|
| 1624 |
+
if(self.options.zoomType != "inner"){
|
| 1625 |
+
scrcontinue = true;
|
| 1626 |
+
}
|
| 1627 |
|
| 1628 |
+
if(scrcontinue){
|
| 1629 |
|
| 1630 |
|
| 1631 |
|
| 1632 |
+
self.zoomLock = 0;
|
| 1633 |
+
self.changeZoom = true;
|
| 1634 |
|
| 1635 |
+
//if lens height is less than image height
|
| 1636 |
|
| 1637 |
|
| 1638 |
+
if(((self.options.zoomWindowHeight)/self.heightRatio) <= self.nzHeight){
|
| 1639 |
|
| 1640 |
|
| 1641 |
+
self.currentZoomLevel = self.newvalueheight;
|
| 1642 |
+
if(self.options.zoomType != "lens" && self.options.zoomType != "inner") {
|
| 1643 |
+
self.changeBgSize = true;
|
| 1644 |
|
| 1645 |
+
self.zoomLens.css({height: String((self.options.zoomWindowHeight)/self.heightRatio) + 'px' })
|
| 1646 |
+
}
|
| 1647 |
+
if(self.options.zoomType == "lens" || self.options.zoomType == "inner") {
|
| 1648 |
+
self.changeBgSize = true;
|
| 1649 |
+
}
|
| 1650 |
|
| 1651 |
|
| 1652 |
+
}
|
| 1653 |
|
| 1654 |
|
| 1655 |
|
| 1656 |
|
| 1657 |
+
if((self.options.zoomWindowWidth/self.widthRatio) <= self.nzWidth){
|
| 1658 |
|
| 1659 |
|
| 1660 |
|
| 1661 |
+
if(self.options.zoomType != "inner"){
|
| 1662 |
+
if(self.newvaluewidth > self.newvalueheight) {
|
| 1663 |
+
self.currentZoomLevel = self.newvaluewidth;
|
| 1664 |
|
| 1665 |
+
}
|
| 1666 |
+
}
|
| 1667 |
|
| 1668 |
+
if(self.options.zoomType != "lens" && self.options.zoomType != "inner") {
|
| 1669 |
+
self.changeBgSize = true;
|
| 1670 |
|
| 1671 |
+
self.zoomLens.css({width: String((self.options.zoomWindowWidth)/self.widthRatio) + 'px' })
|
| 1672 |
+
}
|
| 1673 |
+
if(self.options.zoomType == "lens" || self.options.zoomType == "inner") {
|
| 1674 |
+
self.changeBgSize = true;
|
| 1675 |
+
}
|
| 1676 |
|
| 1677 |
+
}
|
| 1678 |
+
if(self.options.zoomType == "inner"){
|
| 1679 |
+
self.changeBgSize = true;
|
| 1680 |
|
| 1681 |
+
if(self.nzWidth > self.nzHeight){
|
| 1682 |
+
self.currentZoomLevel = self.newvaluewidth;
|
| 1683 |
+
}
|
| 1684 |
+
if(self.nzHeight > self.nzWidth){
|
| 1685 |
+
self.currentZoomLevel = self.newvaluewidth;
|
| 1686 |
+
}
|
| 1687 |
+
}
|
| 1688 |
|
| 1689 |
+
} //under
|
| 1690 |
|
| 1691 |
+
//sets the boundry change, called in setWindowPos
|
| 1692 |
+
self.setPosition(self.currentLoc);
|
| 1693 |
+
//
|
| 1694 |
+
},
|
| 1695 |
+
closeAll: function(){
|
| 1696 |
+
if(self.zoomWindow){self.zoomWindow.hide();}
|
| 1697 |
+
if(self.zoomLens){self.zoomLens.hide();}
|
| 1698 |
+
if(self.zoomTint){self.zoomTint.hide();}
|
| 1699 |
+
},
|
| 1700 |
+
changeState: function(value){
|
| 1701 |
+
var self = this;
|
| 1702 |
+
if(value == 'enable'){self.options.zoomEnabled = true;}
|
| 1703 |
+
if(value == 'disable'){self.options.zoomEnabled = false;}
|
| 1704 |
|
| 1705 |
+
}
|
| 1706 |
|
| 1707 |
+
};
|
| 1708 |
|
| 1709 |
|
| 1710 |
|
| 1711 |
|
| 1712 |
+
$.fn.elevateZoom = function( options ) {
|
| 1713 |
+
return this.each(function() {
|
| 1714 |
+
var elevate = Object.create( ElevateZoom );
|
| 1715 |
|
| 1716 |
+
elevate.init( options, this );
|
| 1717 |
|
| 1718 |
+
$.data( this, 'elevateZoom', elevate );
|
| 1719 |
|
| 1720 |
+
});
|
| 1721 |
+
};
|
| 1722 |
|
| 1723 |
+
$.fn.elevateZoom.options = {
|
| 1724 |
+
zoomActivation: "hover", // Can also be click (PLACEHOLDER FOR NEXT VERSION)
|
| 1725 |
zoomEnabled: true, //false disables zoomwindow from showing
|
| 1726 |
+
preloading: 1, //by default, load all the images, if 0, then only load images after activated (PLACEHOLDER FOR NEXT VERSION)
|
| 1727 |
+
zoomLevel: 1, //default zoom level of image
|
| 1728 |
+
scrollZoom: false, //allow zoom on mousewheel, true to activate
|
| 1729 |
+
scrollZoomIncrement: 0.1, //steps of the scrollzoom
|
| 1730 |
+
minZoomLevel: false,
|
| 1731 |
+
maxZoomLevel: false,
|
| 1732 |
+
easing: false,
|
| 1733 |
+
easingAmount: 12,
|
| 1734 |
+
lensSize: 200,
|
| 1735 |
+
zoomWindowWidth: 400,
|
| 1736 |
+
zoomWindowHeight: 400,
|
| 1737 |
+
zoomWindowOffetx: 0,
|
| 1738 |
+
zoomWindowOffety: 0,
|
| 1739 |
+
zoomWindowPosition: 1,
|
| 1740 |
+
zoomWindowBgColour: "#fff",
|
| 1741 |
+
lensFadeIn: false,
|
| 1742 |
+
lensFadeOut: false,
|
| 1743 |
+
debug: false,
|
| 1744 |
+
zoomWindowFadeIn: false,
|
| 1745 |
+
zoomWindowFadeOut: false,
|
| 1746 |
+
zoomWindowAlwaysShow: false,
|
| 1747 |
+
zoomTintFadeIn: false,
|
| 1748 |
+
zoomTintFadeOut: false,
|
| 1749 |
+
borderSize: 4,
|
| 1750 |
+
showLens: true,
|
| 1751 |
+
borderColour: "#888",
|
| 1752 |
+
lensBorderSize: 1,
|
| 1753 |
+
lensBorderColour: "#000",
|
| 1754 |
+
lensShape: "square", //can be "round"
|
| 1755 |
+
zoomType: "window", //window is default, also "lens" available -
|
| 1756 |
+
containLensZoom: false,
|
| 1757 |
+
lensColour: "white", //colour of the lens background
|
| 1758 |
+
lensOpacity: 0.4, //opacity of the lens
|
| 1759 |
+
lenszoom: false,
|
| 1760 |
+
tint: false, //enable the tinting
|
| 1761 |
+
tintColour: "#333", //default tint color, can be anything, red, #ccc, rgb(0,0,0)
|
| 1762 |
+
tintOpacity: 0.4, //opacity of the tint
|
| 1763 |
+
gallery: false,
|
| 1764 |
+
galleryActiveClass: "zoomGalleryActive",
|
| 1765 |
+
imageCrossfade: false,
|
| 1766 |
+
constrainType: false, //width or height
|
| 1767 |
+
constrainSize: false, //in pixels the dimensions you want to constrain on
|
| 1768 |
+
loadingIcon: false, //http://www.example.com/spinner.gif
|
| 1769 |
+
cursor:"default", // user should set to what they want the cursor as, if they have set a click function
|
| 1770 |
+
responsive:true,
|
| 1771 |
+
onComplete: $.noop,
|
| 1772 |
+
onZoomedImageLoaded: function() {},
|
| 1773 |
+
onImageSwap: $.noop,
|
| 1774 |
+
onImageSwapComplete: $.noop
|
| 1775 |
+
};
|
| 1776 |
+
|
| 1777 |
+
})( jQuery, window, document );
|
skin/frontend/rwd/default/js/lib/enquire.js
CHANGED
|
@@ -290,4 +290,4 @@
|
|
| 290 |
|
| 291 |
return new MediaQueryDispatch();
|
| 292 |
|
| 293 |
-
}));
|
| 290 |
|
| 291 |
return new MediaQueryDispatch();
|
| 292 |
|
| 293 |
+
}));
|
skin/frontend/rwd/default/js/lib/fastclick.js
CHANGED
|
@@ -774,4 +774,4 @@ if (typeof define !== 'undefined' && define.amd) {
|
|
| 774 |
module.exports.FastClick = FastClick;
|
| 775 |
} else {
|
| 776 |
window.FastClick = FastClick;
|
| 777 |
-
}
|
| 774 |
module.exports.FastClick = FastClick;
|
| 775 |
} else {
|
| 776 |
window.FastClick = FastClick;
|
| 777 |
+
}
|
skin/frontend/rwd/default/js/lib/imagesloaded.js
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
* MIT License
|
| 5 |
*/
|
| 6 |
|
| 7 |
-
(function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],n.once===!0&&this.removeListener(e,n.listener),o=n.listener.apply(this,t||[]),o===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=o,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var o={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof exports?module.exports=t(e,require("eventEmitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(this,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"===d.call(e)}function o(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;i>n;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred);var r=this;setTimeout(function(){r.check()})}function c(e){this.img=e}function f(e){this.src=e,v[e]=this}var a=e.jQuery,u=e.console,h=u!==void 0,d=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);for(var i=n.querySelectorAll("img"),r=0,o=i.length;o>r;r++){var s=i[r];this.addImage(s)}}},s.prototype.addImage=function(e){var t=new c(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&h&&u.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return this.complete(),void 0;for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},a&&(a.fn.imagesLoaded=function(e,t){var n=new s(this,e,t);return n.jqDeferred.promise(a(this))}),c.prototype=new t,c.prototype.check=function(){var e=v[this.img.src]||new f(this.img.src);if(e.isConfirmed)return this.confirm(e.isLoaded,"cached was confirmed"),void 0;if(this.img.complete&&void 0!==this.img.naturalWidth)return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0;var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return f.prototype=new t,f.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},f.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},f.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},f.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},f.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},f.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s});
|
| 4 |
* MIT License
|
| 5 |
*/
|
| 6 |
|
| 7 |
+
(function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],n.once===!0&&this.removeListener(e,n.listener),o=n.listener.apply(this,t||[]),o===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=o,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var o={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof exports?module.exports=t(e,require("eventEmitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(this,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"===d.call(e)}function o(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;i>n;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred);var r=this;setTimeout(function(){r.check()})}function c(e){this.img=e}function f(e){this.src=e,v[e]=this}var a=e.jQuery,u=e.console,h=u!==void 0,d=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);for(var i=n.querySelectorAll("img"),r=0,o=i.length;o>r;r++){var s=i[r];this.addImage(s)}}},s.prototype.addImage=function(e){var t=new c(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&h&&u.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return this.complete(),void 0;for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},a&&(a.fn.imagesLoaded=function(e,t){var n=new s(this,e,t);return n.jqDeferred.promise(a(this))}),c.prototype=new t,c.prototype.check=function(){var e=v[this.img.src]||new f(this.img.src);if(e.isConfirmed)return this.confirm(e.isLoaded,"cached was confirmed"),void 0;if(this.img.complete&&void 0!==this.img.naturalWidth)return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0;var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return f.prototype=new t,f.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},f.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},f.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},f.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},f.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},f.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s});
|
skin/frontend/rwd/default/js/lib/jquery.cycle2.min.js
CHANGED
|
@@ -13,4 +13,4 @@ function(e){"use strict";e.extend(e.fn.cycle.defaults,{loader:!1}),e(document).o
|
|
| 13 |
function(e){"use strict";function t(t,i,n){var s,o=t.API.getComponent("pager");o.each(function(){var o=e(this);if(i.pagerTemplate){var c=t.API.tmpl(i.pagerTemplate,i,t,n[0]);s=e(c).appendTo(o)}else s=o.children().eq(t.slideCount-1);s.on(t.pagerEvent,function(e){e.preventDefault(),t.API.page(o,e.currentTarget)})})}function i(e,t){var i=this.opts();if(!i.busy||i.manualTrump){var n=e.children().index(t),s=n,o=s>i.currSlide;i.currSlide!=s&&(i.nextSlide=s,i.API.prepareTx(!0,o),i.API.trigger("cycle-pager-activated",[i,e,t]))}}e.extend(e.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerTemplate:"<span>•</span>"}),e(document).on("cycle-bootstrap",function(e,i,n){n.buildPagerLink=t}),e(document).on("cycle-slide-added",function(e,t,n,s){t.pager&&(t.API.buildPagerLink(t,n,s),t.API.page=i)}),e(document).on("cycle-slide-removed",function(t,i,n){if(i.pager){var s=i.API.getComponent("pager");s.each(function(){var t=e(this);e(t.children()[n]).remove()})}}),e(document).on("cycle-update-view",function(t,i){var n;i.pager&&(n=i.API.getComponent("pager"),n.each(function(){e(this).children().removeClass(i.pagerActiveClass).eq(i.currSlide).addClass(i.pagerActiveClass)}))}),e(document).on("cycle-destroyed",function(e,t){var i=t.API.getComponent("pager");i&&(i.children().off(t.pagerEvent),t.pagerTemplate&&i.empty())})}(jQuery),/*! prevnext plugin for Cycle2; version: 20130709 */
|
| 14 |
function(e){"use strict";e.extend(e.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),e(document).on("cycle-initialized",function(e,t){if(t.API.getComponent("next").on(t.nextEvent,function(e){e.preventDefault(),t.API.next()}),t.API.getComponent("prev").on(t.prevEvent,function(e){e.preventDefault(),t.API.prev()}),t.swipe){var i=t.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",n=t.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";t.container.on(i,function(){t.API.next()}),t.container.on(n,function(){t.API.prev()})}}),e(document).on("cycle-update-view",function(e,t){if(!t.allowWrap){var i=t.disabledClass,n=t.API.getComponent("next"),s=t.API.getComponent("prev"),o=t._prevBoundry||0,c=void 0!==t._nextBoundry?t._nextBoundry:t.slideCount-1;t.currSlide==c?n.addClass(i).prop("disabled",!0):n.removeClass(i).prop("disabled",!1),t.currSlide===o?s.addClass(i).prop("disabled",!0):s.removeClass(i).prop("disabled",!1)}}),e(document).on("cycle-destroyed",function(e,t){t.API.getComponent("prev").off(t.nextEvent),t.API.getComponent("next").off(t.prevEvent),t.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),/*! progressive loader plugin for Cycle2; version: 20130315 */
|
| 15 |
function(e){"use strict";e.extend(e.fn.cycle.defaults,{progressive:!1}),e(document).on("cycle-pre-initialize",function(t,i){if(i.progressive){var n,s,o=i.API,c=o.next,r=o.prev,l=o.prepareTx,a=e.type(i.progressive);if("array"==a)n=i.progressive;else if(e.isFunction(i.progressive))n=i.progressive(i);else if("string"==a){if(s=e(i.progressive),n=e.trim(s.html()),!n)return;if(/^(\[)/.test(n))try{n=e.parseJSON(n)}catch(d){return o.log("error parsing progressive slides",d),void 0}else n=n.split(RegExp(s.data("cycle-split")||"\n")),n[n.length-1]||n.pop()}l&&(o.prepareTx=function(e,t){var s,o;return e||0===n.length?(l.apply(i.API,[e,t]),void 0):(t&&i.currSlide==i.slideCount-1?(o=n[0],n=n.slice(1),i.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.API.advanceSlide(1)},50)}),i.API.add(o)):t||0!==i.currSlide?l.apply(i.API,[e,t]):(s=n.length-1,o=n[s],n=n.slice(0,s),i.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.currSlide=1,t.API.advanceSlide(-1)},50)}),i.API.add(o,!0)),void 0)}),c&&(o.next=function(){var e=this.opts();if(n.length&&e.currSlide==e.slideCount-1){var t=n[0];n=n.slice(1),e.container.one("cycle-slide-added",function(e,t){c.apply(t.API),t.container.removeClass("cycle-loading")}),e.container.addClass("cycle-loading"),e.API.add(t)}else c.apply(e.API)}),r&&(o.prev=function(){var e=this.opts();if(n.length&&0===e.currSlide){var t=n.length-1,i=n[t];n=n.slice(0,t),e.container.one("cycle-slide-added",function(e,t){t.currSlide=1,t.API.advanceSlide(-1),t.container.removeClass("cycle-loading")}),e.container.addClass("cycle-loading"),e.API.add(i,!0)}else r.apply(e.API)})}})}(jQuery),/*! tmpl plugin for Cycle2; version: 20121227 */
|
| 16 |
-
function(e){"use strict";e.extend(e.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),e.extend(e.fn.cycle.API,{tmpl:function(t,i){var n=RegExp(i.tmplRegex||e.fn.cycle.defaults.tmplRegex,"g"),s=e.makeArray(arguments);return s.shift(),t.replace(n,function(t,i){var n,o,c,r,l=i.split(".");for(n=0;s.length>n;n++)if(c=s[n]){if(l.length>1)for(r=c,o=0;l.length>o;o++)c=r,r=r[l[o]]||i;else r=c[i];if(e.isFunction(r))return r.apply(c,s);if(void 0!==r&&null!==r&&r!=i)return r}return i})}})}(jQuery);
|
| 13 |
function(e){"use strict";function t(t,i,n){var s,o=t.API.getComponent("pager");o.each(function(){var o=e(this);if(i.pagerTemplate){var c=t.API.tmpl(i.pagerTemplate,i,t,n[0]);s=e(c).appendTo(o)}else s=o.children().eq(t.slideCount-1);s.on(t.pagerEvent,function(e){e.preventDefault(),t.API.page(o,e.currentTarget)})})}function i(e,t){var i=this.opts();if(!i.busy||i.manualTrump){var n=e.children().index(t),s=n,o=s>i.currSlide;i.currSlide!=s&&(i.nextSlide=s,i.API.prepareTx(!0,o),i.API.trigger("cycle-pager-activated",[i,e,t]))}}e.extend(e.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerTemplate:"<span>•</span>"}),e(document).on("cycle-bootstrap",function(e,i,n){n.buildPagerLink=t}),e(document).on("cycle-slide-added",function(e,t,n,s){t.pager&&(t.API.buildPagerLink(t,n,s),t.API.page=i)}),e(document).on("cycle-slide-removed",function(t,i,n){if(i.pager){var s=i.API.getComponent("pager");s.each(function(){var t=e(this);e(t.children()[n]).remove()})}}),e(document).on("cycle-update-view",function(t,i){var n;i.pager&&(n=i.API.getComponent("pager"),n.each(function(){e(this).children().removeClass(i.pagerActiveClass).eq(i.currSlide).addClass(i.pagerActiveClass)}))}),e(document).on("cycle-destroyed",function(e,t){var i=t.API.getComponent("pager");i&&(i.children().off(t.pagerEvent),t.pagerTemplate&&i.empty())})}(jQuery),/*! prevnext plugin for Cycle2; version: 20130709 */
|
| 14 |
function(e){"use strict";e.extend(e.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),e(document).on("cycle-initialized",function(e,t){if(t.API.getComponent("next").on(t.nextEvent,function(e){e.preventDefault(),t.API.next()}),t.API.getComponent("prev").on(t.prevEvent,function(e){e.preventDefault(),t.API.prev()}),t.swipe){var i=t.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",n=t.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";t.container.on(i,function(){t.API.next()}),t.container.on(n,function(){t.API.prev()})}}),e(document).on("cycle-update-view",function(e,t){if(!t.allowWrap){var i=t.disabledClass,n=t.API.getComponent("next"),s=t.API.getComponent("prev"),o=t._prevBoundry||0,c=void 0!==t._nextBoundry?t._nextBoundry:t.slideCount-1;t.currSlide==c?n.addClass(i).prop("disabled",!0):n.removeClass(i).prop("disabled",!1),t.currSlide===o?s.addClass(i).prop("disabled",!0):s.removeClass(i).prop("disabled",!1)}}),e(document).on("cycle-destroyed",function(e,t){t.API.getComponent("prev").off(t.nextEvent),t.API.getComponent("next").off(t.prevEvent),t.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),/*! progressive loader plugin for Cycle2; version: 20130315 */
|
| 15 |
function(e){"use strict";e.extend(e.fn.cycle.defaults,{progressive:!1}),e(document).on("cycle-pre-initialize",function(t,i){if(i.progressive){var n,s,o=i.API,c=o.next,r=o.prev,l=o.prepareTx,a=e.type(i.progressive);if("array"==a)n=i.progressive;else if(e.isFunction(i.progressive))n=i.progressive(i);else if("string"==a){if(s=e(i.progressive),n=e.trim(s.html()),!n)return;if(/^(\[)/.test(n))try{n=e.parseJSON(n)}catch(d){return o.log("error parsing progressive slides",d),void 0}else n=n.split(RegExp(s.data("cycle-split")||"\n")),n[n.length-1]||n.pop()}l&&(o.prepareTx=function(e,t){var s,o;return e||0===n.length?(l.apply(i.API,[e,t]),void 0):(t&&i.currSlide==i.slideCount-1?(o=n[0],n=n.slice(1),i.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.API.advanceSlide(1)},50)}),i.API.add(o)):t||0!==i.currSlide?l.apply(i.API,[e,t]):(s=n.length-1,o=n[s],n=n.slice(0,s),i.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.currSlide=1,t.API.advanceSlide(-1)},50)}),i.API.add(o,!0)),void 0)}),c&&(o.next=function(){var e=this.opts();if(n.length&&e.currSlide==e.slideCount-1){var t=n[0];n=n.slice(1),e.container.one("cycle-slide-added",function(e,t){c.apply(t.API),t.container.removeClass("cycle-loading")}),e.container.addClass("cycle-loading"),e.API.add(t)}else c.apply(e.API)}),r&&(o.prev=function(){var e=this.opts();if(n.length&&0===e.currSlide){var t=n.length-1,i=n[t];n=n.slice(0,t),e.container.one("cycle-slide-added",function(e,t){t.currSlide=1,t.API.advanceSlide(-1),t.container.removeClass("cycle-loading")}),e.container.addClass("cycle-loading"),e.API.add(i,!0)}else r.apply(e.API)})}})}(jQuery),/*! tmpl plugin for Cycle2; version: 20121227 */
|
| 16 |
+
function(e){"use strict";e.extend(e.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),e.extend(e.fn.cycle.API,{tmpl:function(t,i){var n=RegExp(i.tmplRegex||e.fn.cycle.defaults.tmplRegex,"g"),s=e.makeArray(arguments);return s.shift(),t.replace(n,function(t,i){var n,o,c,r,l=i.split(".");for(n=0;s.length>n;n++)if(c=s[n]){if(l.length>1)for(r=c,o=0;l.length>o;o++)c=r,r=r[l[o]]||i;else r=c[i];if(e.isFunction(r))return r.apply(c,s);if(void 0!==r&&null!==r&&r!=i)return r}return i})}})}(jQuery);
|
skin/frontend/rwd/default/js/lib/jquery.cycle2.swipe.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
/*! Plugin for Cycle2; Copyright (c) 2012 M. Alsup; ver: 20121120 */
|
| 2 |
-
(function(a){"use strict";var b="ontouchend"in document;a.event.special.swipe=a.event.special.swipe||{scrollSupressionThreshold:10,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,setup:function(){var b=a(this);b.bind("touchstart",function(c){function g(b){if(!f)return;var c=b.originalEvent.touches?b.originalEvent.touches[0]:b;e={time:(new Date).getTime(),coords:[c.pageX,c.pageY]},Math.abs(f.coords[0]-e.coords[0])>a.event.special.swipe.scrollSupressionThreshold&&b.preventDefault()}var d=c.originalEvent.touches?c.originalEvent.touches[0]:c,e,f={time:(new Date).getTime(),coords:[d.pageX,d.pageY],origin:a(c.target)};b.bind("touchmove",g).one("touchend",function(c){b.unbind("touchmove",g),f&&e&&e.time-f.time<a.event.special.swipe.durationThreshold&&Math.abs(f.coords[0]-e.coords[0])>a.event.special.swipe.horizontalDistanceThreshold&&Math.abs(f.coords[1]-e.coords[1])<a.event.special.swipe.verticalDistanceThreshold&&f.origin.trigger("swipe").trigger(f.coords[0]>e.coords[0]?"swipeleft":"swiperight"),f=e=undefined})})}},a.event.special.swipeleft=a.event.special.swipeleft||{setup:function(){a(this).bind("swipe",a.noop)}},a.event.special.swiperight=a.event.special.swiperight||a.event.special.swipeleft})(jQuery);
|
| 1 |
/*! Plugin for Cycle2; Copyright (c) 2012 M. Alsup; ver: 20121120 */
|
| 2 |
+
(function(a){"use strict";var b="ontouchend"in document;a.event.special.swipe=a.event.special.swipe||{scrollSupressionThreshold:10,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,setup:function(){var b=a(this);b.bind("touchstart",function(c){function g(b){if(!f)return;var c=b.originalEvent.touches?b.originalEvent.touches[0]:b;e={time:(new Date).getTime(),coords:[c.pageX,c.pageY]},Math.abs(f.coords[0]-e.coords[0])>a.event.special.swipe.scrollSupressionThreshold&&b.preventDefault()}var d=c.originalEvent.touches?c.originalEvent.touches[0]:c,e,f={time:(new Date).getTime(),coords:[d.pageX,d.pageY],origin:a(c.target)};b.bind("touchmove",g).one("touchend",function(c){b.unbind("touchmove",g),f&&e&&e.time-f.time<a.event.special.swipe.durationThreshold&&Math.abs(f.coords[0]-e.coords[0])>a.event.special.swipe.horizontalDistanceThreshold&&Math.abs(f.coords[1]-e.coords[1])<a.event.special.swipe.verticalDistanceThreshold&&f.origin.trigger("swipe").trigger(f.coords[0]>e.coords[0]?"swipeleft":"swiperight"),f=e=undefined})})}},a.event.special.swipeleft=a.event.special.swipeleft||{setup:function(){a(this).bind("swipe",a.noop)}},a.event.special.swiperight=a.event.special.swiperight||a.event.special.swipeleft})(jQuery);
|
skin/frontend/rwd/default/js/lib/modernizr.custom.min.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
/* Modernizr 2.6.2 (Custom Build) | MIT & BSD
|
| 2 |
* Build: http://modernizr.com/download/#-localstorage-touch-shiv-mq-cssclasses-teststyles-prefixes-load
|
| 3 |
*/
|
| 4 |
-
;window.Modernizr=function(a,b,c){function x(a){j.cssText=a}function y(a,b){return x(m.join(a+";")+(b||""))}function z(a,b){return typeof a===b}function A(a,b){return!!~(""+a).indexOf(b)}function B(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:z(f,"function")?f.bind(d||b):f}return!1}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n={},o={},p={},q=[],r=q.slice,s,t=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["­",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},u=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return t("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},v={}.hasOwnProperty,w;!z(v,"undefined")&&!z(v.call,"undefined")?w=function(a,b){return v.call(a,b)}:w=function(a,b){return b in a&&z(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=r.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(r.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(r.call(arguments)))};return e}),n.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:t(["@media (",m.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},n.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}};for(var C in n)w(n,C)&&(s=C.toLowerCase(),e[s]=n[C](),q.push((e[s]?"":"no-")+s));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)w(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},x(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=m,e.mq=u,e.testStyles=t,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+q.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
|
| 1 |
/* Modernizr 2.6.2 (Custom Build) | MIT & BSD
|
| 2 |
* Build: http://modernizr.com/download/#-localstorage-touch-shiv-mq-cssclasses-teststyles-prefixes-load
|
| 3 |
*/
|
| 4 |
+
;window.Modernizr=function(a,b,c){function x(a){j.cssText=a}function y(a,b){return x(m.join(a+";")+(b||""))}function z(a,b){return typeof a===b}function A(a,b){return!!~(""+a).indexOf(b)}function B(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:z(f,"function")?f.bind(d||b):f}return!1}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n={},o={},p={},q=[],r=q.slice,s,t=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["­",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},u=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return t("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},v={}.hasOwnProperty,w;!z(v,"undefined")&&!z(v.call,"undefined")?w=function(a,b){return v.call(a,b)}:w=function(a,b){return b in a&&z(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=r.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(r.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(r.call(arguments)))};return e}),n.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:t(["@media (",m.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},n.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}};for(var C in n)w(n,C)&&(s=C.toLowerCase(),e[s]=n[C](),q.push((e[s]?"":"no-")+s));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)w(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},x(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=m,e.mq=u,e.testStyles=t,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+q.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
|
skin/frontend/rwd/default/js/lib/selectivizr.js
CHANGED
|
@@ -558,4 +558,4 @@ References:
|
|
| 558 |
addEvent(win,"load", init);
|
| 559 |
}
|
| 560 |
};
|
| 561 |
-
})(this);
|
| 558 |
addEvent(win,"load", init);
|
| 559 |
}
|
| 560 |
};
|
| 561 |
+
})(this);
|
skin/frontend/rwd/default/scss/vendor/_normalize.scss
CHANGED
|
@@ -1,28 +1,3 @@
|
|
| 1 |
-
//
|
| 2 |
-
// Magento
|
| 3 |
-
//
|
| 4 |
-
// NOTICE OF LICENSE
|
| 5 |
-
//
|
| 6 |
-
// This source file is subject to the Academic Free License (AFL 3.0)
|
| 7 |
-
// that is bundled with this package in the file LICENSE_AFL.txt.
|
| 8 |
-
// It is also available through the world-wide-web at this URL:
|
| 9 |
-
// http://opensource.org/licenses/afl-3.0.php
|
| 10 |
-
// If you did not receive a copy of the license and are unable to
|
| 11 |
-
// obtain it through the world-wide-web, please send an email
|
| 12 |
-
// to license@magento.com so we can send you a copy immediately.
|
| 13 |
-
//
|
| 14 |
-
// DISCLAIMER
|
| 15 |
-
//
|
| 16 |
-
// Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 17 |
-
// versions in the future. If you wish to customize Magento for your
|
| 18 |
-
// needs please refer to http://www.magento.com for more information.
|
| 19 |
-
//
|
| 20 |
-
// @category design
|
| 21 |
-
// @package rwd_default
|
| 22 |
-
// @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
|
| 23 |
-
// @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 24 |
-
//
|
| 25 |
-
|
| 26 |
/*! normalize.css v2.0.1 | MIT License | git.io/normalize */
|
| 27 |
|
| 28 |
/* ==========================================================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
/*! normalize.css v2.0.1 | MIT License | git.io/normalize */
|
| 2 |
|
| 3 |
/* ==========================================================================
|
