Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<script>
function Change(size) {
var i;
var all_tables = document.all.tags("TABLE");
for (i=0;i<all_tables.length;i++)
{
all_tables[i].style.fontSize = size + "px"; // your new size
}
}
</script>
//in one page
<body onload="javascript:Change(10);">
//in another
<body onload="javascript:Change(12);">
document.all.tags("TABLE").style.fontSize = val+initialsize
function Change(size) {
var i;
var newSize = 12;
var all_tables = document.all.tags("TABLE");
for (i=0;i<all_tables.length;i++)
{
all_tables[i].style.fontSize++
}
}
<html>
<head>
<title>Untitled</title>
<style>
TABLE { font-size: 10px; }
</style>
<script language="JavaScript">
function Change(size)
{
var all_tables = document.getElementsByTagName("TABLE");
for (i=0;i<all_tables.length;i++)
{
var tableObj = all_tables.item(i);
tableObj.style.fontSize = size;
}
}
</script>
</head>
<body>
<TABLE>
<tr><td>
TEXT
</td><tr>
</TABLE>
<TABLE>
<tr><td>
TEXT
</td><tr>
</TABLE>
<TABLE>
<tr><td>
TEXT
</td><tr>
</TABLE>
<form name="sizes">
<input name="size" type="text" value="10">
</form>
<a href="#" onclick="javascript:Change(sizes.size.value);">Make me any size I want!</a>
</body>
</html>
[code]
[i]Just cut and paste, load to browser, and look[/i]
function IncreaseDecrease(val)
{
if (val==1) { document.body.style.fontSize = initialSize++
textsize = val;
document.colorform.fontSize.value = val+initialSize;
initialTableSize ++;
for (i=0;i<all_tables.length;i++)
{
all_tables[i].style.fontSize = initialTableSize; // your new size
}
}
else { document.body.style.fontSize = initialSize--
textsize = val;
document.colorform.fontSize.value = val+initialSize;
initialTableSize --;
for (i=0;i<all_tables.length;i++)
{
all_tables[i].style.fontSize = initialTableSize; // your new size
}
}
}