aboutsummaryrefslogtreecommitdiff
path: root/includes/js/dojo/tests/_base/_loader/afterOnLoad.html
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-14 15:39:19 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-11-14 15:39:19 +0000
commit1c5685d68f1b73270fb814fe04cbb490eb90ba5f (patch)
tree3d3ada08a934b96fc31531f1327690d7edc6f766 /includes/js/dojo/tests/_base/_loader/afterOnLoad.html
parent104d59099e048688c4dbac37d72137006e396558 (diff)
downloadsemanticscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.gz
semanticscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.bz2
Minor fix: Remove DOJO library (60Mo) replaced by link to Google CDN (online DOJO library)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@159 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'includes/js/dojo/tests/_base/_loader/afterOnLoad.html')
-rw-r--r--includes/js/dojo/tests/_base/_loader/afterOnLoad.html56
1 files changed, 0 insertions, 56 deletions
diff --git a/includes/js/dojo/tests/_base/_loader/afterOnLoad.html b/includes/js/dojo/tests/_base/_loader/afterOnLoad.html
deleted file mode 100644
index 48ebd60..0000000
--- a/includes/js/dojo/tests/_base/_loader/afterOnLoad.html
+++ /dev/null
@@ -1,56 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
-<html>
- <head>
- <title>Testing afterOnLoad</title>
-
- <link rel="stylesheet" type="text/css" href="../../../resources/dojo.css" />
- <link rel="stylesheet" type="text/css" href="../../../../dijit/tests/css/dijitTests.css" />
- <link rel="stylesheet" type="text/css" href="../../../../dijit/themes/tundra/tundra.css" />
-
- <script type="text/javascript">
- window.onload = function(){
- //Create global djConfig object first. We cannot use the djConfig attribute
- //on the script tag since it may not be visible in some browsers at the time
- //dojo.js executes. This causes problems when the "require" property is used
- //as part of djConfig. Also note that you have to set baseUrl directly, since
- //it cannot be detected as part of script tag.
- djConfig = {
- baseUrl: "../../../",
- parseOnLoad: true,
- afterOnLoad:true,
- require: [
- 'dojo.parser',
- 'dijit._Calendar'
- ],
- isDebug: true
- };
-
- var script = document.createElement("script");
- script.type = "text/javascript";
- script.src = "../../../dojo.js";
-
- document.getElementsByTagName("head")[0].appendChild(script);
- }
-
- function myHandler(id,newValue){
- console.debug("onChange for id = " + id + ", value: " + newValue);
- }
- </script>
- </head>
- <body>
- <h1>Testing afterOnLoad</h1>
-
- <p><b>This page only works with a dojo build</b>. It will not work properly if you run it directly from the subversion source.</p>
-
- <p>This page tests loading dojo after the page is loaded. </p>
-
- <p>When the window.onload fires, the dojo script tag will be added to the DOM
- and configured to fire the onload callbacks. If everything works, you should
- see a Calendar below.</p>
-
- <p class="tundra">
- <input id="calendar1" dojoType="dijit._Calendar" onChange="myHandler(this.id,arguments[0])">
- </p>
- </body>
-</html>