-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·64 lines (47 loc) · 1.66 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
<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<title>Select Cutoff Fix</title>
<link rel='stylesheet' href='css/style.css'>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<!--[if lt IE 9]>
<script>
$(function() {
var el;
$("select.fix-me")
.each(function() {
el = $(this);
el.data("origWidth", el.outerWidth()) // IE 8 will take padding on selects
})
.mouseenter(function(){
$(this).css("width", "auto");
})
.bind("blur change", function(){
el = $(this);
el.css("width", el.data("origWidth"));
});
});
</script>
<![endif]-->
</head>
<body>
<div id="page-wrap">
<h1>Select Cutoff Fix</h1>
<h2>Busted in IE 7/8</h2>
<select>
<option value="%5B139%5D+White+Mesh+-+%24119.99">[139] White Mesh - $119.99</option>
<option value="%5B169%5D+Black+Mesh++-+%24119.99">[169] Black Mesh - $119.99</option>
<option value="%5B149%5D+SafeRail+-+White+Mesh+-+%24125.99">[149] SafeRail - White Mesh - $125.99</option>
<option value="%5B179%5D+SafeRail+-+Black+Mesh+-+%24125.99">[179] SafeRail - Black Mesh - $125.99</option>
</select>
<h2>Fixed</h2>
<select class="fix-me">
<option value="%5B139%5D+White+Mesh+-+%24119.99">[139] White Mesh - $119.99</option>
<option value="%5B169%5D+Black+Mesh++-+%24119.99">[169] Black Mesh - $119.99</option>
<option value="%5B149%5D+SafeRail+-+White+Mesh+-+%24125.99">[149] SafeRail - White Mesh - $125.99</option>
<option value="%5B179%5D+SafeRail+-+Black+Mesh+-+%24125.99">[179] SafeRail - Black Mesh - $125.99</option>
</select>
</div>
</body>
</html>