Interface_Frontend_Rwd_Default - Version 1.9.2.1

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 CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Interface_Frontend_Rwd_Default</name>
4
- <version>1.9.2.0</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.0</notes>
12
  <authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
13
- <date>2015-07-08</date>
14
- <time>12:05:58</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="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.0</min><max>1.9.2.0</max></package></required></dependencies>
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
- 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 +"'>&nbsp;</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'>&nbsp;</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'>&nbsp;</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,716 +1062,716 @@ if ( typeof Object.create !== 'function' ) {
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 );
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 +"'>&nbsp;</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'>&nbsp;</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'>&nbsp;</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
+