-
Notifications
You must be signed in to change notification settings - Fork 0
/
indexterm.html
35 lines (35 loc) · 1.46 KB
/
indexterm.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE HTML>
<html>
<head>
<title>Vishnu Thiagarajan</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="startup.css" />
<!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
</head>
<body>
<p>Hello! This is Vishnu. <p>
Enter <b>begin</b> to enter,<br/>
<b>projects</b> to view my work,<br/>
or just wait.<br/>
<!--form action="demo_form.asp" -->
<script type="text/javascript">
function get_action(form) {
var intext = form.fname.value;
if(intext === "begin"){
console.log(form.fname.value);
window.open ('index.html','_self',false)
}
else
document.getElementById("forminput").innerHTML += ">";
return false;
}
</script>
<form onsubmit="get_action(this);return false;">
<p id = "forminput">><input type="text" name="fname" value = "" style="color: transparent" autofocus>
<input type="submit" value="Submit" hidden>
</form>
</body>
</html>