elevateweb / elevatezoom

1.03k stars 492 forks source link

Disable zooming but keep imageswap #107

Open renzet opened 9 years ago

renzet commented 9 years ago

Can I disable the zooming but keep the imagswap? When i try to display:none the zoomContainer div the zooming is disabled (not showed that is) but the image swap functionality also doesn't work anymore..

pvgr commented 9 years ago

You should use the zoomEnabled: false setting instead.

renzet commented 9 years ago

That does disable zooming but has the same effect ass setting display:none on the zoomContainer div: imageswapping doesn't work anymore and clicking a thumbnail results in going to '#' on the page.

pvgr commented 9 years ago

I’m sorry but I’m working on a page that has an elevateZoom instance, and the thumbs work as advertised without zooming. You’ll have to provide a URL or (better) a JSFiddle, as there may be other problems / error with your implementation.

renzet commented 9 years ago

Well this is embarrassing.. I made a mistake, now it works as advertised :) Maybe you can put this option in the config page at http://www.elevateweb.co.uk/image-zoom/configuration? Thanks for the quick support!

pvgr commented 9 years ago

No worries, mistakes do happen! However, the documentation page is outdated and this project seems to be abandoned by the author, unfortunately. There are a bunch of forks that you follow, and I might even fork this myself and try to keep it going.

renzet commented 9 years ago

I assumed you were the author, found it surprising you answered so quickly while the code isn't updated in a year..