-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Revert "Improvement in TouchHold & Mousehold Incr/Decr""
This reverts commit 9cb801b.
- Loading branch information
Showing
58 changed files
with
458 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<!DOCTYPE html> | ||
|
||
<html> | ||
|
||
<head> | ||
|
||
<title>TouchHold Gesture Example</title> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<link rel="stylesheet" type="text/css" href="../src/DateTimePicker.css" /> | ||
|
||
<script type="text/javascript" src="jquery-1.11.0.min.js"></script> | ||
<script type="text/javascript" src="../src/DateTimePicker.js"></script> | ||
|
||
<!--[if lt IE 9]> | ||
<link rel="stylesheet" type="text/css" href="../src/DateTimePicker-ltie9.css" /> | ||
<script type="text/javascript" src="../src/DateTimePicker-ltie9.js"></script> | ||
<![endif]--> | ||
|
||
<style type="text/css"> | ||
|
||
p | ||
{ | ||
margin-left: 20px; | ||
} | ||
|
||
input | ||
{ | ||
width: 200px; | ||
padding: 10px; | ||
margin-left: 20px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
</style> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
<p>Date : </p> | ||
<input type="text" data-field="date" readonly> | ||
|
||
<p>Time : </p> | ||
<input type="text" data-field="time" readonly> | ||
|
||
<p>DateTime : </p> | ||
<input type="text" data-field="datetime" readonly> | ||
|
||
|
||
|
||
<div id="dtBox"></div> | ||
|
||
|
||
|
||
<script type="text/javascript"> | ||
|
||
$(document).ready(function() | ||
{ | ||
$("#dtBox").DateTimePicker({ | ||
|
||
captureMouseHold: true, | ||
|
||
mouseHoldInterval: 10 | ||
|
||
}); | ||
}); | ||
|
||
</script> | ||
|
||
</body> | ||
|
||
</html> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
144 changes: 144 additions & 0 deletions
144
demo/jQueryUI-Tabs/BasicDateTimePicker-jQueryUI-ElementsGroup.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
<!DOCTYPE html> | ||
|
||
<html> | ||
|
||
<head> | ||
|
||
<title>DateTime Picker</title> | ||
|
||
<link rel="stylesheet" type="text/css" href="jquery-ui.min.css" /> | ||
<link rel="stylesheet" type="text/css" href="jquery-ui.theme.min.css" /> | ||
<link rel="stylesheet" type="text/css" href="../../src/DateTimePicker.css" /> | ||
|
||
<script type="text/javascript" src="../jquery-1.11.0.min.js"></script> | ||
|
||
<script type="text/javascript" src="jquery-ui.min.js"></script> | ||
|
||
<script type="text/javascript" src="../../src/DateTimePicker.js"></script> | ||
|
||
<!--[if lt IE 9]> | ||
<link rel="stylesheet" type="text/css" href="../../src/DateTimePicker-ltie9.css" /> | ||
<script type="text/javascript" src="../../src/DateTimePicker-ltie9.js"></script> | ||
<![endif]--> | ||
|
||
<style type="text/css"> | ||
|
||
p | ||
{ | ||
margin-left: 20px; | ||
} | ||
|
||
input | ||
{ | ||
width: 200px; | ||
padding: 10px; | ||
margin-left: 20px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
</style> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
<div id="tabs"> | ||
|
||
<ul> | ||
<li><a href="#datepicker-tab">Date Picker</a></li> | ||
<li><a href="#timepicker-tab">Time Picker</a></li> | ||
<li><a href="#datetimepicker-tab">DateTime Picker</a></li> | ||
</ul> | ||
|
||
|
||
<div id="datepicker-tab"> | ||
|
||
<p>Date : </p> | ||
<input type="text" data-field="date" readonly> | ||
|
||
</div> | ||
|
||
<div id="timepicker-tab"> | ||
|
||
<p>Time : </p> | ||
<input type="text" data-field="time" readonly> | ||
|
||
</div> | ||
|
||
<div id="datetimepicker-tab"> | ||
|
||
<p>DateTime : </p> | ||
<input type="text" data-field="datetime" readonly> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
|
||
<div id="dtBox-datepicker"></div> | ||
|
||
<div id="dtBox-timepicker"></div> | ||
|
||
<div id="dtBox-datetimepicker"></div> | ||
|
||
|
||
<script type="text/javascript"> | ||
|
||
var objDatePicker, objTimePicker, objDateTimePicker; | ||
|
||
$(document).ready(function() | ||
{ | ||
$("#tabs").tabs(); | ||
|
||
$("#dtBox-datepicker").DateTimePicker({ | ||
|
||
isPopup: false, | ||
|
||
parentElement: "#datepicker-tab", | ||
|
||
init: function() | ||
{ | ||
objDatePicker = this; | ||
} | ||
|
||
}); | ||
|
||
$("#dtBox-timepicker").DateTimePicker({ | ||
|
||
isPopup: false, | ||
|
||
parentElement: "#timepicker-tab", | ||
|
||
init: function() | ||
{ | ||
objTimePicker = this; | ||
} | ||
|
||
}); | ||
|
||
$("#dtBox-datetimepicker").DateTimePicker({ | ||
|
||
isPopup: false, | ||
|
||
parentElement: "#datetimepicker-tab", | ||
|
||
init: function() | ||
{ | ||
objDateTimePicker = this; | ||
} | ||
|
||
}); | ||
|
||
console.log("DatePicker : "); | ||
console.log(objDatePicker); | ||
console.log("TimePicker : "); | ||
console.log(objTimePicker); | ||
console.log("DateTimePicker : "); | ||
console.log(objDateTimePicker); | ||
}); | ||
|
||
</script> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<!DOCTYPE html> | ||
|
||
<html> | ||
|
||
<head> | ||
|
||
<title>DateTime Picker</title> | ||
|
||
<link rel="stylesheet" type="text/css" href="jquery-ui.min.css" /> | ||
<link rel="stylesheet" type="text/css" href="jquery-ui.theme.min.css" /> | ||
<link rel="stylesheet" type="text/css" href="../../src/DateTimePicker.css" /> | ||
|
||
<script type="text/javascript" src="../jquery-1.11.0.min.js"></script> | ||
|
||
<script type="text/javascript" src="jquery-ui.min.js"></script> | ||
|
||
<script type="text/javascript" src="../../src/DateTimePicker.js"></script> | ||
|
||
<!--[if lt IE 9]> | ||
<link rel="stylesheet" type="text/css" href="../../src/DateTimePicker-ltie9.css" /> | ||
<script type="text/javascript" src="../../src/DateTimePicker-ltie9.js"></script> | ||
<![endif]--> | ||
|
||
<style type="text/css"> | ||
|
||
p | ||
{ | ||
margin-left: 20px; | ||
} | ||
|
||
input | ||
{ | ||
width: 200px; | ||
padding: 10px; | ||
margin-left: 20px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
</style> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
<div id="tabs"> | ||
|
||
<ul> | ||
<li><a href="#datepicker-tab">Date Picker</a></li> | ||
<li><a href="#timepicker-tab">Time Picker</a></li> | ||
<li><a href="#datetimepicker-tab">DateTime Picker</a></li> | ||
</ul> | ||
|
||
|
||
<div id="datepicker-tab"> | ||
|
||
<p>Date : </p> | ||
<input type="text" data-field="date" readonly> | ||
|
||
</div> | ||
|
||
<div id="timepicker-tab"> | ||
|
||
<p>Time : </p> | ||
<input type="text" data-field="time" readonly> | ||
|
||
</div> | ||
|
||
<div id="datetimepicker-tab"> | ||
|
||
<p>DateTime : </p> | ||
<input type="text" data-field="datetime" readonly> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
|
||
<div id="dtBox"></div> | ||
|
||
|
||
<script type="text/javascript"> | ||
|
||
var objDateTimePicker; | ||
|
||
$(document).ready(function() | ||
{ | ||
$("#tabs").tabs(); | ||
|
||
$("#dtBox").DateTimePicker({ | ||
|
||
isPopup: false, | ||
|
||
init: function() | ||
{ | ||
objDateTimePicker = this; | ||
} | ||
|
||
}); | ||
|
||
console.log("DateTimePicker : "); | ||
console.log(objDateTimePicker); | ||
}); | ||
|
||
</script> | ||
|
||
</body> | ||
|
||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.