summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/tests/Insertion.html
diff options
context:
space:
mode:
authorwei <>2006-01-09 03:40:59 +0000
committerwei <>2006-01-09 03:40:59 +0000
commit9c9a2d731fea9679f65904a3a6b72dd78b4253a4 (patch)
tree1d81a12a7a79e74e98218d01c6278a81f0996f5d /framework/Web/Javascripts/tests/Insertion.html
parent10420d2bcde1a7437b58175f417170b2d6d93e50 (diff)
Update library
Diffstat (limited to 'framework/Web/Javascripts/tests/Insertion.html')
-rw-r--r--framework/Web/Javascripts/tests/Insertion.html47
1 files changed, 0 insertions, 47 deletions
diff --git a/framework/Web/Javascripts/tests/Insertion.html b/framework/Web/Javascripts/tests/Insertion.html
deleted file mode 100644
index 1aefd3aa..00000000
--- a/framework/Web/Javascripts/tests/Insertion.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<html>
-<head>
- <script type="text/javascript" src="../../base.js"></script>
- <script type="text/javascript" src="../../dom.js"></script>
- <script type="text/javascript" src="../../form.js"></script>
- <script type="text/javascript">
- function test() {
- var type = Form.Element.getValue('type');
- var html = '<div>' + Form.Element.getValue('content') + '</div>';
- new Insertion[type]($('a'), html);
- return false;
- }
- </script>
-
- <style type="text/css">
- div#a {
- border: 2px solid blue;
- padding: 10px;
- margin-bottom: 10px;
- }
-
- div#a div {
- border: 1px solid red;
- padding: 5px;
- }
-
- textarea {
- display: block;
- }
- </style>
-</head>
-<body>
- <div id="a">
- content
- </div>
- <fieldset>
- <textarea id="content" rows="10" cols="60"></textarea>
- <select id="type">
- <option value="Before">Before</option>
- <option value="Top">Top</option>
- <option value="Bottom">Bottom</option>
- <option value="After">After</option>
- </select>
- <button onclick="return test()">Create Insertion</button>
- </fieldset>
-</body>
-</html> \ No newline at end of file