1) Script Title: Simple Image Panner and Zoomer v1.1
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...magepanner.htm
3) Describe problem: Is it possible to implement mousewheel or mouse scroll to zoom image panner.
Thanks
1) Script Title: Simple Image Panner and Zoomer v1.1
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...magepanner.htm
3) Describe problem: Is it possible to implement mousewheel or mouse scroll to zoom image panner.
Thanks
Possible, yes. Will someone write it for you, perhaps. First look at:
http://www.dynamicdrive.com/dynamici...agemagnify.htm
and:
http://www.dynamicdrive.com/dynamici...owerzoomer.htm
and:
http://www.dynamicdrive.com/dynamici...uredzoomer.htm
I know none of these is exactly what you're asking for, but perhaps you might like one of them even better. If so, it will save someone a lot of work adapting the Simple Image Panner and Zoomer to work with the mouse.
BTW, using the mouse will potentially limit the script. As it is now, it will probably work on most browsers, including mobile/touch devices. If you involve the mouse wheel, unless there is a fallback to the current 'click on icons' methods for zoom in/out, most if not all mobile/touch devices will not be able to use it.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Thanks for a quick response. Yeah your right, it takes a lot of work to implement the mouse motion instead of clicking and might not work at all browser. Might only need to work on Chrome
Would be possible, instead of using mouse wheel to zoom image implement image zoom with slider
Vic
God Loves You and will never love you less.
http://www.vicsjavascripts.org/Home.htm
If my post has been useful please donate to http://www.operationsmile.org.uk/
Thanks a lot Vic. However, i got an error "addEventListener" when I implement with jquery. How to fixed this?
I do not understand, the script does not use jquerywhen I implement with jquery
I have tested with jquery on the page with no errors
please post a link to the problem page
Vic
God Loves You and will never love you less.
http://www.vicsjavascripts.org/Home.htm
If my post has been useful please donate to http://www.operationsmile.org.uk/
Bookmarks