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 HTML 4.0 Transitional//EN"
"[URL unfurl="true"]http://www.w3.org/TR/html4/loose.dtd">[/URL]
<html>
<head>
<title>untitled</title>
<script type="text/javascript" language="javascript">
var prevWin = null;
function open_prevWin(oForm)
{
if (prevWin && !prevWin.closed)
prevWin.close();
oForm.action = 'preview.php';
prevWin = window.open('about:blank', 'prevWin', 'left=200,top=200,width=500,height=400,status=0'); //remove spaces above! (courtesy of this board)
if (prevWin && !prevWin.closed)
prevWin.focus();
return true;
}
function insert_submit(oForm)
{
oForm.action = 'insert_write.php';
oForm.target = '_self';
return true;
}
</script>
</head>
<body>
<form name="input" action="insert_write.php" method="POST" target="prevWin">
<textarea name="titolo" cols="30" rows="2" class="form"></textarea>
<INPUT type="submit" value="preview" name="A" onclick="return open_prevWin(this.form)">
<INPUT type="submit" value="insert" name="B" onclick="return insert_submit(this.form)">
<input type=reset value="Clear form" name="reset">
</p>
</form>
</body>
</html>