• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Browser Zoom in/out Settings

 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do we have way to change the browser Zoom in/out value based on URL in our code?

I want to set my Zoom in Percentage value to 75% and when I add new Tab it should reset to 100% and again when I switch it my particular URL and it has to redirects to 75%.


Is it possible to achieve this through client side(Html, CSS, Jquery, Javascript)?.

Thanks in Advance.
 
Bartender
Posts: 2911
150
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is a meta tag:
Here, the initial scale tells the Zoom for the page (100% in the above example).

I haven't tried setting it to 75% or similar. But even if the browser supports changing the zoom on the fly, I wouldn't like it as a user if a webpage I am browsing is zooming to different values while I am working with it.

 
Marshal
Posts: 28305
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On the other hand, I've seen web sites which allow you to click on one of a group of links (usually capital A's of different sizes) to change the size of text in the page. But now that I've typed that sentence I realize that changing the size of text isn't quite the same as zooming the whole page in and out. But perhaps you could do that instead of zooming?
 
Life just hasn't been the same since the volcano erupted and now the air is full of tiny ads.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic