CGordon
10-14-2014, 01:43 PM
1) Script Title: Imagepanner.js
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...magepanner.htm
3) Describe problem: I'd like to add a reset button/div. Clicking the reset button would reset the image to it's original zoom level and alignment. Please let me know how this can be accomplished/if it's possible? Thank you very much!
Here's the markup I'd like to use:
<div id="productdetails_reset">
<div class="svg-container reset">
<svg viewbox="0 0 100 112.6" preserveaspectratio="xMinYMin meet">
<use xlink:href="#icon-reset">
</use>
</svg>
</div>
<div class="scene-view__control-label">Reset</div>
</div>
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...magepanner.htm
3) Describe problem: I'd like to add a reset button/div. Clicking the reset button would reset the image to it's original zoom level and alignment. Please let me know how this can be accomplished/if it's possible? Thank you very much!
Here's the markup I'd like to use:
<div id="productdetails_reset">
<div class="svg-container reset">
<svg viewbox="0 0 100 112.6" preserveaspectratio="xMinYMin meet">
<use xlink:href="#icon-reset">
</use>
</svg>
</div>
<div class="scene-view__control-label">Reset</div>
</div>