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 language="javascript">
<!--
function openWin() { var winHandle = window.open('popupCode.html', '', ''); }
//-->
</script>
</head>
<body>
Click <a href="javascript:openWin();">here</a> to open a new window.
<br><br>
The last window you closed returned a value of: <span id="returnValue"> </span>
</body>
</html>
<html>
<head>
<script language="javascript">
<!--
function sendValueToOpener()
{
window.opener.document.getElementById('returnValue').innerHTML = document.getElementById('valueField').value;
}
//-->
</script>
</head>
<body onunload="sendValueToOpener();">
<form>
Type in a value to get returned when this window closes: <input type="text" id="valueField">
</form>
<br><br>
Click <a href="javascript:window.close();">here</a> to close the window.
</body>
</html>