How to Detect Browser Zoom Event

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rakeshvthu
    New Member
    • May 2007
    • 27

    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.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #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?

    Comment

    • rakeshvthu
      New Member
      • May 2007
      • 27

      #3
      Originally posted by acoder
      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.

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        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.

        Comment

        • dinnerout
          New Member
          • Jan 2010
          • 1

          #5
          detect browser zoom

          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

          Comment

          Working...