弹出图像内的缩放效果 [英] Zooming effect inside popup image

查看:64
本文介绍了弹出图像内的缩放效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当鼠标滚动时,我需要用于缩放弹出窗口内图像的代码,无论是否可能是灯箱。请帮我搞定

Hi, i need code for zooming the image inside the popup window whether might be lightbox, when mouse scrolling. please help me to get it

推荐答案

最好的办法是使用KineticJS。 www.kineticjs.com 我最近一直在使用它,它很容易使用,有很多支持。我有图像,您可以将鼠标放在一个点上,并使用滚轮放大该点。
Your best bet is to use KineticJS. www.kineticjs.com I've been using it a lot lately and it's very easy to use, with lots of support. I've got images where you can put the mouse over a point and use the wheel to zoom on that point.


这篇关于弹出图像内的缩放效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆