aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/mozilla/firefox/releases/3/full_page_zoom/index.html
diff options
context:
space:
mode:
authorFlorian Merz <me@fiji-flo.de>2021-02-11 14:49:58 +0100
committerFlorian Merz <me@fiji-flo.de>2021-02-11 14:49:58 +0100
commit68fc8e96a9629e73469ed457abd955e548ec670c (patch)
tree8529ab9fe63d011f23c7f22ab5a4a1c5563fcaa4 /files/pt-br/mozilla/firefox/releases/3/full_page_zoom/index.html
parent8260a606c143e6b55a467edf017a56bdcd6cba7e (diff)
downloadtranslated-content-68fc8e96a9629e73469ed457abd955e548ec670c.tar.gz
translated-content-68fc8e96a9629e73469ed457abd955e548ec670c.tar.bz2
translated-content-68fc8e96a9629e73469ed457abd955e548ec670c.zip
unslug pt-br: move
Diffstat (limited to 'files/pt-br/mozilla/firefox/releases/3/full_page_zoom/index.html')
-rw-r--r--files/pt-br/mozilla/firefox/releases/3/full_page_zoom/index.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/files/pt-br/mozilla/firefox/releases/3/full_page_zoom/index.html b/files/pt-br/mozilla/firefox/releases/3/full_page_zoom/index.html
new file mode 100644
index 0000000000..1a22edfb92
--- /dev/null
+++ b/files/pt-br/mozilla/firefox/releases/3/full_page_zoom/index.html
@@ -0,0 +1,45 @@
+---
+title: Zoom de página inteira
+slug: Mozilla/Firefox/Releases/3/Zoom_de_página_inteira
+tags:
+ - Extensões
+ - Firefox 3
+ - XUL
+translation_of: Mozilla/Firefox/Releases/3/Full_page_zoom
+---
+<div>{{FirefoxSidebar}}</div>
+
+<p>{{ Gecko_minversion_header("1.9") }}</p>
+
+<p>Zoom de página inteira (ou apenas fullzoom) é um novo recurso do <a href="/en/Firefox_3_for_developers" title="en/Firefox_3_for_developers">Firefox 3</a>.</p>
+
+<h3 id="Example_.28XUL:browser.29" name="Example_.28XUL:browser.29">Exemplo (XUL:browser)</h3>
+
+<p><span id="result_box" lang="pt"><span>O exemplo a seguir demonstra o uso da janela atual do navegador.</span> <span>Esse é o uso típico de uma extensão do Firefox.</span></span></p>
+
+<pre>var zoom = ZoomManager.getZoomForBrowser(gBrowser.selectedBrowser);
+ZoomManager.enlarge();
+ZoomManager.setZoomForBrowser(gBrowser.selectedBrowser, ZoomManager.MIN);
+</pre>
+
+<h3 id="Example_.28XUL:iframe.29" name="Example_.28XUL:iframe.29">Exemplo (XUL:iframe)</h3>
+
+<p><span class="short_text" id="result_box" lang="pt"><span>Nota: Isso provavelmente está desatualizado.</span></span></p>
+
+<p><span id="result_box" lang="pt"><span>Você pode usar o recurso fullZoom para um</span></span> <a href="/en/XUL/iframe" title="en/XUL/iframe">XUL:iframe</a> <span id="result_box" lang="pt"><span>também.</span> <span>No entanto, como um iframe não tem uma propriedade  markupDocumentViewer, precisamos obtê-la primeiro:</span></span></p>
+
+<pre>var zoom = 1.5;
+var iframe = document.getElementById("authorFrame");
+var contViewer = iframe.docShell.contentViewer;
+var docViewer = contViewer.QueryInterface(Components.interfaces.nsIMarkupDocumentViewer);
+docViewer.fullZoom = zoom;
+</pre>
+
+<h3 id="References" name="References">References</h3>
+
+<ul>
+ <li><span id="result_box" lang="pt"><span>Extensão de zoom de página por</span></span> Ted Mielczarek <a class="external" href="http://ted.mielczarek.org/code/mozilla/fullpagezoom.xpi">fullpagezoom.xpi</a> <span id="result_box" lang="pt"><span>para os últimos Firefox 3.0 nightlies</span></span></li>
+ <li><a class="link-https" href="https://addons.mozilla.org/en-US/firefox/addon/6489">Glazoom extension</a> por Daniel Glazman para Firefox 3.0</li>
+ <li>O <a class="link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=4821">bugzilla bug</a> sobre fullZoom.</li>
+ <li>{{ Interface("nsIMarkupDocumentViewer") }} documentação da interface.</li>
+</ul>