summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/prado/test.html
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Javascripts/prado/test.html')
-rw-r--r--framework/Web/Javascripts/prado/test.html105
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>