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.
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml"[/URL] xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
<title>JavaScript Sample</title>
<script src="Sample.js" type="text/javascript"></script>
</head>
<body>
<input type="button" value="popit!" onclick="InitWinders();self.close();"></input>
</body>
</html>
function InitWinders()
{
// Declare variables
var NewWindow
// Open a blank Document window
NewWindow = window.open('SampleWindowContents.html','Sample','top=0,screenY=0,left=0,width=300,height=150,scrollbars=no,scrollbar=no,menubar=no');
}
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml"[/URL] xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
<title>JavaScript Sample Window</title>
</head>
<body>
<p>This is the brand new window, complete with focus.</p>
<p>Seems to work best on IE.</p>
</body>
</html>
<body>
<body onload="opener.opener = self; opener.close();">