By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,700 Members | 1,441 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,700 IT Pros & Developers. It's quick & easy.

To implement zoom function in javascript

100+
P: 151
How zoom function can be implemented in javascript?
Aug 12 '09 #1
Share this Question
Share on Google+
4 Replies


gits
Expert Mod 5K+
P: 5,390
what do you want to zoom? what code do you already have done?
Aug 12 '09 #2

100+
P: 151
So far I have not implemented anything just looking for how image can be zoomed using javascript.
@gits
Aug 13 '09 #3

Dormilich
Expert Mod 5K+
P: 8,639
@Man4ish
you can change the image’s width and height attributes (might not give best results in IE though…)
Aug 13 '09 #4

gits
Expert Mod 5K+
P: 5,390
or you have a corresponding series of images that you load for every zoom step. with JavaScript you don't have 'real' image manipulation abilities ... even though you could 'simulate' them ...

kind regards
Aug 13 '09 #5

Post your reply

Sign in to post your reply or Sign up for a free account.