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.
<html>
<head>
<script>
//this function will show the content within the <div> tag
function toggleDiv(divName)
{
thisDiv = document.getElementById(divName);
if (thisDiv)
{
if (thisDiv.style.display == "none") {
thisDiv.style.display = "block";
}
}
else {
alert("Error: Could not locate div with id: " + divName);
}
}
//this function will hide the content within the <div> tag
function toggleDiv2(divName)
{
thisDiv = document.getElementById(divName);
if (thisDiv)
{
if (thisDiv.style.display == "block") {
thisDiv.style.display = "none";
}
}
else {
alert("Error: Could not locate div with id: " + divName);
}
}
</script>
</head>
<body>
<table>
<tr>
<td>
<!-- calls the 'toggleDiv' that shows the <div> -->
<input name="ff1" type=radio value=Y onClick="toggleDiv('showme');">Show
<!-- calls the 'toggleDiv2' that hides the <div> -->
<input name="ff1" type=radio value=N onClick="toggleDiv2('showme');">Hide
</td>
</tr>
<tr>
<td>
<!-- by defualt hide the <div> tag -->
<div id="showme" style="display: none;">
<table width="100%" border="0" cellpadding="1" cellspacing="1">
<tr>
<td><div align="right">Now you can see me, yeay!!</div></td>
<td> </td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td>
Some other text here
</td>
</tr>
</table>
</body>
</html>