I think every browser has user-controllered full-page zoom nowadays. Is it in anyway accessible to developers, via either html, css or javascript?
I'd like to provide an iframe, or even a normal frame, and set it to, say, 50% zoom. (Relative to the current zoom of the containing document, ideally.)
Is it at all doable? I don't mind if it's an HTML 5 solution as long as it has an existing functional implementation. Even if it's in a nightly build.
I'd be very happy if it worked with at least WebKit and Gecko, and bonus if Trident too.
That can also be done in FF, like this:
It works great!
Check: https://developer.mozilla.org/en/CSS/-moz-transform
This HTML5 and CSS3 codes working for me are: zoom for IE 6 to 8, and transform scale for the rest of the modern browsers.
Firefox 3.5 and up, Safari 3.1, Chrome 4.0, Opera 10.5 are supported.
Looking for a JS or JQuery solution like this which works cross browser for old versions with custom built functions based on xy axis and offset.
I believe the path is to use xy axis functions but can´t find any pre-made zoom-out code to take it as a seed.
The following works in Safari 4.0.2 and latest WebKit nightly. It doesn't work in Google Chrome (neither Windows nor Mac), however.
As for Firefox 3.5 and IE 8.0, no deal. Also, no deal on latest Camino nightly.
The closest thing I can think of is
Zoom
in CSS3:This will not work merely by adding it to an ifarme tag:
You'll have to apply it to a content-tag within the iframe DOM itself, either the BODY or a wrapper-div.
Other than that, I don't know of a way to do this that would find great support cross-browser.