Zum Inhalt springen

Der Computer Blog

Alles über die Informatik & Co.

  • Programmierung
    • HTML5
      • CSS3 Animationen
      • CSS3 Transitionen
      • CSS3 Performance
    • JavaScript
      • Best Practices
    • JEE Tutorial
    • MySQL
    • Python
    • Windows Phone
    • Windows Store
  • Spicker
    • Linux Befehle
    • MySQL Befehle
    • Reguläre Ausdrücke
  • Tools
    • Countdown-Zähler
    • Passwort-Generator
    • Prozentrechner
    • Sprite-Generator
  • Empfehlungen
    • Firefox Plugins
    • Software
  • E-Learning

Schlagwort: zoom in

Zoom in and out with JavaScript

JavaScript is able to zoom in and zoom out of a web page. All you need is just this (for 200% zoom):

window.parent.document.body.style.zoom=2.0;

window.parent.document.body.style.zoom=2.0;

Veröffentlicht am 28. März 201223. März 2012Kategorien JavaScriptSchlagwörter JavaScript, js, zoom in, zoom outSchreibe einen Kommentar zu Zoom in and out with JavaScript
Stolz präsentiert von WordPress