-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·102 lines (91 loc) · 2.9 KB
/
index.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!doctype html>
<!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
<!--[if IE 7]> <html class="ie7 oldie"> <![endif]-->
<!--[if IE 8]> <html class="ie8 oldie"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="">
<!--<![endif]-->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Base64 Jquery</title>
<link href="css/boilerplate.css" rel="stylesheet" type="text/css">
<link href="css/main.css" rel="stylesheet" type="text/css">
<!-- JQUERY CDN -->
<!--<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>-->
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
<!-- Plugin -->
<script src="js/base64_jquery.js"></script>
<!-- Plugin Options -->
<script type="text/javascript">
$(document).ready(function() {
$('.box').base64( {
encode: {
inputID : '#inputEncode',
outputID :'#outputEncode',
checkedID : '#check' ,
fooID : '.foo',
animation : true,
fooText : 'Encode',
errorText : 'Invalid!'
},
decode: {
inputID : '#inputDecode',
outputID : '#outputDecode',
fooText : 'Decode'
}
});
});
</script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="js/respond.min.js"></script>
</head>
<body>
<div class="gridContainer clearfix">
<div class="title row clearfix">
<h3>Base64 Jquery</h3>
</div><!-- /title -->
<div class="box">
<!-- Encode -->
<div class="front">
<div class="input row clearfix">
<h4>Input:</h4>
<textarea id="inputEncode" placeholder="input..."></textarea>
</div><!-- /input -->
<div class="row" style="margin-top:40px;">
<hr>
</div><!-- /hr -->
<div class="output row">
<h4>Output:</h4>
<textarea id="outputEncode" placeholder="output..."></textarea>
</div><!-- /outputEncode -->
<div class="foo" class="row">
</div><!-- /fooEn -->
</div><!-- /front -->
<!-- Decode -->
<div class="back">
<div class="input row clearfix">
<h4>Input:</h4>
<textarea id="inputDecode" placeholder="input..."></textarea>
</div><!-- /input -->
<div class="row" style="margin-top:40px;">
<hr>
</div><!-- /hr -->
<div class="output row">
<h4>Output:</h4>
<textarea id="outputDecode" placeholder="output..."></textarea>
</div><!-- /outputEncode -->
<div class="foo" class="row">
</div><!-- /fooEn -->
</div><!-- /front -->
</div><!-- /box -->
<!-- Checbox -->
<div class="checkbox">
<input type="checkbox" id="check" />
<label for="check"></label>
</div>
</div><!-- /grid -->
</body>
</html>