-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVidil.html
executable file
·45 lines (43 loc) · 1.44 KB
/
Vidil.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
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html>
<head>
<title>
VIDIL HOMEPAGE
</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<body>
<script src="http://code.jquery.com/jquery.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<div class="hero-unit">
<h1> VIDIL
</h1>
</div>
<script>
function savedata() {
localStorage.username=(document.getElementById("username").value)
return true
}
function hideAddressBar(){
if(document.documentElement.scrollHeight<window.outerHeight/window.devicePixelRatio)
document.documentElement.style.height=(window.outerHeight/window.devicePixelRatio)+'px';
setTimeout(window.scrollTo(1,1),0);
}
window.addEventListener("load",function(){hideAddressBar();});
window.addEventListener("orientationchange",function(){hideAddressBar();});
</script>
<form class="navbar-search pull-left" onsubmit="savedata()" method="get" action="vidupload.html">
<input type="text" class="search-query" placeholder="Type User Name" id="username">
<button type="submit" class="btn">Welcome To VIDIL</button>
</form>
</body>
</html>
<Style type="text/css" >
body{
background-color:rgb(0,0,0);
background-image:url(http://www.zingerbugimages.com/backgrounds/snow_covered_peaks_background_1800x1200.jpg);
background-position:center center;
background-repeat:no-repeat;
background-attachment:fixed;
}