Skip to content

Commit be592b9

Browse files
author
bradrobertson
committed
add trigger on custom test demo
1 parent 2887934 commit be592b9

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

test/dateinput/customized.htm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
firstDay: 1,
2525
speed: 'fast',
2626
selectors: false,
27-
yearRange: [-75, -10]
27+
yearRange: [-75, -10],
28+
trigger: true
2829
});
2930
</script>
3031

test/dateinput/skin1.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,14 @@ a.caldisabled {
144144
background-color:#333;
145145
color:#fff;
146146
}
147+
148+
/* date input trigger element */
149+
.caltrigger {
150+
padding: 5px 20px;
151+
padding-top: 9px;
152+
margin-left: 2px;
153+
background:url('http://static.flowplayer.org/tools/demos/dateinput/css/icon.jpg') no-repeat 0 0;
154+
-moz-border-radius:3px;
155+
-webkit-border-radius:3px;
156+
border-radius:3px;
157+
}

0 commit comments

Comments
 (0)