User:Contribution/My Sandbox: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Contribution (talk | contribs)
No edit summary
Contribution (talk | contribs)
No edit summary
Line 20: Line 20:
|
|
|}
|}
{
<script type="text/javascript">
 
/*<![CDATA[*/
var Page = document.getElementById('Body');
document.write('<style type="text/css"> .wiki_table td { padding: 5px; } <\/style>');
 
/*]]>*/
var zoom = parseInt(Page.style.zoom) + 10 +'%'
</script>
 
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:12, 13 May 2020

#Test

<script type="text/javascript"> /*<![CDATA[*/ document.write('<style type="text/css"> .wiki_table td { padding: 5px; } <\/style>'); /*]]>*/ </script>