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.
<%@ Page Language="vb" Debug="true" CodeBehind="menu.aspx.vb" AutoEventWireup="false" Inherits="localhost.menu" %>
<%@ Page Language="vb" Debug="true" Src="menu.aspx.vb" AutoEventWireup="false" Inherits="menu" %>
Public Class menu
Inherits System.Web.UI.Page
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
End Sub
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Request.Cookies("time").Value <> "" Then timeOn.text = Request.Cookies("time").Value
timeNow.text = Now()
If Request.Cookies("time").Value <> "" Then timeLeft.text = DateDiff("n", Request.Cookies("time").Value, DateTime.Now())
End Sub
End Class
If Request.Cookies("time").Value <> "" Then
diff = DateTime.Now().Subtract(Request.Cookies("time").Value)
timeLeft.Text = diff.Minutes.ToString
End If