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.
window.showModalDialog("myModalForm.htm", self, myOptions)
<script language="vbscript">
sub CloseMe()
window.dialogArguments.location.reload()
Window.close()
end sub
</script>
<SCRIPT language="javascript">
function OpenDialog(){
window.showModalDialog("modal.htm", self,"dialogheight:100px;dialogwidth:150px;");
}
</SCRIPT>
<FORM NAME=myForm>
<INPUT TYPE="button" VALUE="Click To open"onclick="OpenDialog()">
</FORM>
<%
response.write("<HR>" & Time())
%>
<script language="vbscript">
sub CloseMe()
window.dialogArguments.location.reload()
Window.close()
end sub
</script>
<FORM NAME=myOtherForm>
<INPUT TYPE="button" VALUE="Click To Close" onclick="CloseMe()">
</FORM>
<body <%If CloseWindow = True Then%>onLoad="window.close()" <%End If%>>