diff options
author | wei <> | 2006-01-20 07:02:43 +0000 |
---|---|---|
committer | wei <> | 2006-01-20 07:02:43 +0000 |
commit | a48195e52865532add00af44788c938071eb0e1d (patch) | |
tree | c3d3bd95cfb09c7e4b45fe6363874bef8397d7ce /framework/Web/Javascripts/prado/test.html | |
parent | 138dbc23381a82eaf17a2685cc3bdb54ad8b7f51 (diff) |
Update date picker
Diffstat (limited to 'framework/Web/Javascripts/prado/test.html')
-rw-r--r-- | framework/Web/Javascripts/prado/test.html | 105 |
1 files changed, 0 insertions, 105 deletions
diff --git a/framework/Web/Javascripts/prado/test.html b/framework/Web/Javascripts/prado/test.html deleted file mode 100644 index ab4ff973..00000000 --- a/framework/Web/Javascripts/prado/test.html +++ /dev/null @@ -1,105 +0,0 @@ -<!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" xml:lang="en" lang="en">
-<head>
- <title>Prado Date Picker</title>
- <script type="text/javascript" src="../js/prado.js"></script>
- <script type="text/javascript" src="../js/logger.js"></script>
- <script type="text/javascript" src="datepicker.js"></script>
-</head>
-
-<body>
-<form ID=Form1>
- <input type="text" name="textfield1" id="textfield1" />
- <input type="button" name="button1" id="button1" value="..." />
- <br />
- <input type="text" /> <br />
- <select><option value="1">One</option></select>
-
- <input type="button" id="b1" value="button 1" />
- <input type="button" id="start" value="start" />
- <input type="button" id="stop" value="stop" />
-</form>
-
-
-as<br/>
-dv<br/>
-as<br/>
-d<br/>
-as<br/>
-d<br/>
-asd<br/>
-a<br/>
-sd<br/>
-dv<br/>
-as<br/>
-d<br/>
-as<br/>
-d<br/>
-asd<br/>
-a<br/>
-sd<br/>
-dv<br/>
-as<br/>
-d<br/>
-as<br/>
-d<br/>
-asd<br/>
-a<br/>
-sd<br/>
-<form>
- <input type="text" name="textfield2" id="text1" />
-</form>
-d<br/>
-as<br/>
-d<br/>
-asd<br/>
-a<br/>
-sd<br/>
-dv<br/>
-as<br/>
-d<br/>
-as<br/>
-d<br/>
-asd<br/>
-a<br/>
-sd<br/>
-
-<script type="text/javascript">
-
- var options = { "Trigger" : "button1", "Format" : "dd-MM-yyyy" };
- var datepicker1 = new Prado.WebUI.TDatePicker("textfield1", options);
- var datepicker2 = new Prado.WebUI.TDatePicker("textfield2", {'Format':'MM-dd-yy', 'UpToYear' : 2050});
- var test2 = { clicks : 0 };
- var test1 = Class.create();
- test1.prototype =
- {
- clicks : 0,
-
- initialize : function()
- {
- Event.observe("start", "click", this.start.bindEvent(this));
- Event.observe("stop", "click", this.stop.bindEvent(this));
- },
-
- start : function()
- {
- this.button1ClickEvent = this.clicked.bindEvent(this);
- Event.observe("b1", "click", this.button1ClickEvent);
- },
-
- stop : function()
- {
- Event.stopObserving("b1", "click", this.button1ClickEvent);
- },
-
- clicked : function()
- {
- Logger.warn("clicked " + (this.clicks++));
- }
- }
-
- new test1();
- </script>
-</body>
-</html>
|