loupe

How can I customise jquery loupe to have a circular lens?

浪尽此生 提交于 2020-01-06 13:57:13
问题 I would appreciate the thoughts of any javascript / css ninjas on how I can customise: https://github.com/jdbartlett/loupe/blob/master/jquery.loupe.js To have a circular zoom area instead of rectangular one? There is an option to set a css class for the loupe. Please note that this is a question about the library linked above. I have already googled for other libraries. I want to keep the js as small as possible. 回答1: I guess the easiest way to do this is to use CSS3 border-radius, which is

How can I customise jquery loupe to have a circular lens?

这一生的挚爱 提交于 2020-01-06 13:57:11
问题 I would appreciate the thoughts of any javascript / css ninjas on how I can customise: https://github.com/jdbartlett/loupe/blob/master/jquery.loupe.js To have a circular zoom area instead of rectangular one? There is an option to set a css class for the loupe. Please note that this is a question about the library linked above. I have already googled for other libraries. I want to keep the js as small as possible. 回答1: I guess the easiest way to do this is to use CSS3 border-radius, which is

global disable magnifying glass on iOS 9 in meteor cordova app

99封情书 提交于 2019-12-04 00:14:44
问题 I have tested several workarounds to disable the annoying magnifying glass with css, but on my iOS9 meteor cordova build it appears for a moment and fades out after some ms. it was working on iOS 8 but not on iOS 9 now with this css code: body, body * { -webkit-user-select: none !important; user-select: none !important; -webkit-user-callout: none !important; -webkit-touch-callout: none !important; } input, textarea { -webkit-user-select: text !important; user-select: text !important; -webkit

global disable magnifying glass on iOS 9 in meteor cordova app

扶醉桌前 提交于 2019-12-01 03:08:33
I have tested several workarounds to disable the annoying magnifying glass with css, but on my iOS9 meteor cordova build it appears for a moment and fades out after some ms. it was working on iOS 8 but not on iOS 9 now with this css code: body, body * { -webkit-user-select: none !important; user-select: none !important; -webkit-user-callout: none !important; -webkit-touch-callout: none !important; } input, textarea { -webkit-user-select: text !important; user-select: text !important; -webkit-user-callout: default !important; -webkit-touch-callout: default !important; } *{ -webkit-tap-highlight