473,388 Members | 1,177 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

How to Detect Browser Zoom Event

Hi All,

I have a requirement my Customer doesn't want to see any changes in the page when user clicks on Zoom button in IE7 or in any other browser that supports Zoom option. Can you please help to find solution for this problem.

It is Urgent

thank you in advance,


Rakesh N.
Sep 17 '07 #1
4 17345
acoder
16,027 Expert Mod 8TB
This is a browser issue. IE7 and Opera have page zoom, while Firefox and Safari support text zooming. See a comparison.

If the user chooses to zoom, that is their choice. You shouldn't try to restrict that. What exactly is the problem when zooming?
Sep 17 '07 #2
This is a browser issue. IE7 and Opera have page zoom, while Firefox and Safari support text zooming. See a comparison.

If the user chooses to zoom, that is their choice. You shouldn't try to restrict that. What exactly is the problem when zooming?
Thanks for Quick Reply,

Exact problem is in my page i have images when user clicks on Zoom button they are misplaced and they are disturbed so my customer does not want that to be happen :(

pls provide solution

thanks in advance,

Rakesh N.
Sep 17 '07 #3
acoder
16,027 Expert Mod 8TB
There's not much you can do about that except to code your page in such a way that the bad effect of the page zoom is minimal. Have a fluid layout instead of a fixed one and only use images if they are essential are just one or two ideas.
Sep 18 '07 #4
I wrote a little script using flash and javascript to detect the browsers zoom level. Also a callback is possible if the zoom state changes. This also works for other browsers :-)
Maybe this helps: http://blog.sebastian-martens.de/200...e-browser-zoo/

best regards,
Sebastian
Jan 11 '10 #5

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

Similar topics

8
by: mscir | last post by:
I'd like to detect when the user resizes the text in the browser, is there a specific event I can watch for?
4
by: sm mehta | last post by:
Hi, I have a web Application that must be licensed. When Customer buys 2 licensees for my application they can only have 2 copies open at a time. What I am doing right now is, I am storing No....
3
by: Denon | last post by:
How to trap browser close event in SERVER side? I read a lot of forum message, it talk about onclose(), onunload() and even onbeforeunload() event. However, all of theses are based on javascript...
1
by: Chirag Malvi | last post by:
hello all, I am developing the web application using ASP.net and VS.2003 IDE. here is the situation which i want to implement. 1) User is browsing some webform. I want to trap this event....
1
by: bloodandrose | last post by:
Can you help me How to detect browser close event? Thanks
1
by: kaushalmbhavsar | last post by:
Hi I have couple of pages that maintain some stateful information and i need to detect browser back/refresh button press and loged out user. Is there a simple mechanims in .NET (specially in...
2
by: pingalkar | last post by:
In my application, on one form i m getting information from user and save this information , after saving this information again we loading that page. (At this moment if any one try to refresh this...
0
by: neo2020 | last post by:
Hi all, Is it possible for us to detect the browser refresh event ? I am thinking of comparing the current browser loaded URL with the target url. If they are the same, then imply it is an refresh...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.