-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolorblind.html
92 lines (84 loc) · 2.52 KB
/
colorblind.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Blind</title>
<script src="js/jQuery.js"></script>
<script src="js/jquery_ui.js"></script>
<script>
$(function(){
$('h3').dblclick(function(){
window.location='Rightorder.html';
});
});
</script>
<style type="text/css">
body{
width:100%;
margin:0 auto;
background-color:#FDFDFD;
}
p{
color:#FBFBFB;
/*color:#FBFBFB;*/
font-size:50px;
font-weight:100;
}
#textarea {
border: none;
overflow: auto;
height: 120px;
width: 335px;
margin:0 auto;
text-align:center;
cursor:default;
}
#wrapper {
position:relative;
top:250px;
overflow: hidden;
height: 120px;
margin:0 auto;
cursor:default;
overflow-x:hidden;
}
.the p::selection {
background:#FFF;
color:#FCFCFB;
}
</style>
</head>
<body>
<div id="wrapper" class="the">
<div style="height:250px;">
<div id="textarea" class="the">
<p>DOWN</p>
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
<h3>Double-Click Here</h3>
</div>
</div>
</div>
<!-- hide scrollbar -->
<script type="text/javascript" charset="utf-8">
// get the width of the textarea minus scrollbar
var textareaWidth = document.getElementById("textarea").scrollWidth;
// width of our wrapper equals width of the inner part of the textarea
document.getElementById("wrapper").style.width = textareaWidth + 'px';
</script>
</body>
</html>