User:Contribution/My Sandbox: Difference between revisions
Jump to navigation
Jump to search
Contribution (talk | contribs) No edit summary |
Contribution (talk | contribs) No edit summary |
||
| Line 20: | Line 20: | ||
| | | | ||
|} | |} | ||
{ | |||
var Page = document.getElementById('Body'); | |||
var zoom = parseInt(Page.style.zoom) + 10 +'%' | |||
Page.style.zoom = zoom; | |||
return false; | |||
} | |||
function zoomOut() | |||
{ | |||
var Page = document.getElementById('Body'); | |||
var zoom = parseInt(Page.style.zoom) - 10 +'%' | |||
Page.style.zoom = zoom; | |||
return false; | |||
} | |||
Revision as of 13:10, 13 May 2020
| #Test | |||
{
var Page = document.getElementById('Body');
var zoom = parseInt(Page.style.zoom) + 10 +'%'
Page.style.zoom = zoom;
return false;
}
function zoomOut()
{
var Page = document.getElementById('Body');
var zoom = parseInt(Page.style.zoom) - 10 +'%'
Page.style.zoom = zoom;
return false;
}