# BirthdayDatePicker
Open me!
Demo View | Source Code (opens new window) | Download all widgets
Assets:
Images:
JavaScripts:
<!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" />
<script type="text/javascript" src="../core/lib/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/bday-picker.min.js"></script>
<script type="text/javascript" src="js/jquery.dropdownmenu.js"></script>
<script type="text/javascript" src="js/birthday-picker.js"></script>
<link type="text/css" rel="stylesheet" href="style.css">
<title>Birthday Date Picker</title>
</head>
<body>
<h1>Birthday Date Picker</h1>
<div class="content">
<div class="picker" id="datepicker"></div>
</div>
</body>
</html>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.styled {
width: 150px;
}
span.customStyleSelectBox {
margin-top: 7px;
font-size: 14px;
font-family: Arial, Helvetica, sans-serif;
background-color: #ffffff;
color: #000000;
padding: 5px 7px;
border: 1px solid #efefef;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px 5px;
line-height: 11px;
}
span.customStyleSelectBox.changed {
background-color: #efefef;
}
.customStyleSelectBoxInner {
background: url("../core/images/dropdown_arrow.gif") no-repeat center right;
}
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
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$(document).ready(function() {
$("#datepicker").birthdaypicker({
futureDates: true,
maxYear: 2020,
maxAge: 75,
defaultDate: "10-17-1980"
});
$('select.styled').customStyle();
});
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
// Make sure to add code blocks to your code group