-
Notifications
You must be signed in to change notification settings - Fork 1
/
cart.php
57 lines (55 loc) · 1.23 KB
/
cart.php
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
46
47
48
49
50
51
52
53
54
55
56
57
<style type="text/css">
.wraplogin {
width: 100%; height: 162px; background-color: #423E40;
margin-top: -20px;
}
.logincontent{
width: 40%; margin: auto; background-color: #D9D7D8; padding: 10px;
}
.logincontent table{
margin: auto;
}
.logincontent label{
font-family: sans-serif; font-size: 16pt; font-weight: bold;
}
.logincontent input{
font-size: 16pt; font-family: monospace;
}
.logincontent button{
font-size: 16pt; font-family: sans-serif; width: 100%; height: 30px;
}
#button{
float: right;
}
</style>
<div class="wraplogin" style="display:none;">
<div class="logincontent">
<form action="" method="POST">
<table>
<tr>
<td><label>Username</label></td>
<td><input type="text" name="username"></td>
</tr>
<tr>
<td><label>Password</label></td>
<td><input type="password" name="password"></td>
</tr>
<tr>
<td colspan="2"><button type="button">Log In</button></td>
</tr>
<tr>
<td></td>
<td>Lupa Password?</td>
</tr>
</table>
</form>
</div>
</div>
<button id="button">Cart</button>
<script>
$("#button").click( function() {
$(".wraplogin").slideToggle(500, function(){
$(".wraplogin").css("display","visible");
});
});
</script>