aboutsummaryrefslogtreecommitdiff
path: root/includes/js/dojox/layout/tests/_bottomPane.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/dojox/layout/tests/_bottomPane.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/dojox/layout/tests/_bottomPane.html')
-rw-r--r--includes/js/dojox/layout/tests/_bottomPane.html53
1 files changed, 0 insertions, 53 deletions
diff --git a/includes/js/dojox/layout/tests/_bottomPane.html b/includes/js/dojox/layout/tests/_bottomPane.html
deleted file mode 100644
index 8f5090a..0000000
--- a/includes/js/dojox/layout/tests/_bottomPane.html
+++ /dev/null
@@ -1,53 +0,0 @@
-<div class="wrap">
- Bottom Pane Content:
- <button dojoType="dijit.form.Button">
- Setup Toggler
- <script type="dojo/method" event="onClick">
- // only do this once:
- this.setAttribute('disabled',true);
- var pane = dijit.getEnclosingWidget(this.domNode.parentNode);
-
- dijit.registry
- .filter(function(n){
- // there is probably an easier way to get all the Splitters
- return n.declaredClass == "dijit.layout._Splitter";
- })
- .forEach(function(n){
- // add some stuff to this instance:
- dojo.mixin(n,{
- // toggle additions:
- _hackSize:null,
- _hackShowing:true,
- /*_setHack:function(e){
- this._hackShowing = true;
- },*/
- _tgl: function(e){
- if(this._hackShowing){
- this._hackSize = dojo.marginBox(this.child.domNode);
- this.child.domNode.style.height = "1px";
- }else{
- this.child.domNode.style.height = this._hackSize.h + "px";
- }
- // toggle state, and call layout() on parent
- this._hackShowing = !this._hackShowing;
- dijit.getEnclosingWidget(this.domNode.parentNode).layout();
- }
- });
- // using it's internal connect method, setup the toggler
- n.connect(n.domNode,"ondblclick","_tgl");
- //n.connect(n,"_cleanupHandlers","_setHack");
- });
- </script>
- </button>
-
- <button dojoType="dijit.form.Button">
- Minimize
- <script type="dojo/method" event="onClick">
- // simplified version of above:
- var pane = dijit.getEnclosingWidget(this.domNode.parentNode);
- pane.domNode.style.height = "1px";
- dijit.byId("bc").layout();
- </script>
- </button>
-
-</div> \ No newline at end of file