From e44a7e37b6c7b5961adaffc62b9042b8d442938e Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 13 Nov 2008 09:49:11 +0000 Subject: New feature: basic Ajax suggestion for tags and implementation of Dojo toolkit git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f --- includes/js/dijit/tests/layout/ContentPane.html | 577 +++++++++++++++++++++ includes/js/dijit/tests/layout/ContentPane.js | 9 + includes/js/dijit/tests/layout/combotab.html | 11 + includes/js/dijit/tests/layout/doc0.html | 12 + includes/js/dijit/tests/layout/doc1.html | 13 + includes/js/dijit/tests/layout/doc2.html | 13 + includes/js/dijit/tests/layout/getResponse.php | 57 ++ includes/js/dijit/tests/layout/tab1.html | 6 + includes/js/dijit/tests/layout/tab2.html | 3 + includes/js/dijit/tests/layout/tab3.html | 39 ++ includes/js/dijit/tests/layout/tab4.html | 40 ++ .../tests/layout/test_AccordionContainer.html | 195 +++++++ .../dijit/tests/layout/test_BorderContainer.html | 163 ++++++ .../tests/layout/test_BorderContainer_complex.html | 178 +++++++ .../layout/test_BorderContainer_experimental.html | 253 +++++++++ .../tests/layout/test_BorderContainer_full.html | 56 ++ .../tests/layout/test_BorderContainer_nested.html | 70 +++ .../js/dijit/tests/layout/test_ContentPane.html | 94 ++++ .../js/dijit/tests/layout/test_LayoutCode.html | 383 ++++++++++++++ .../dijit/tests/layout/test_LayoutContainer.html | 174 +++++++ .../js/dijit/tests/layout/test_SplitContainer.html | 116 +++++ .../js/dijit/tests/layout/test_StackContainer.html | 62 +++ .../tests/layout/test_StackContainer_code.html | 64 +++ .../js/dijit/tests/layout/test_TabContainer.html | 183 +++++++ .../tests/layout/test_TabContainerTitlePane.html | 75 +++ .../tests/layout/test_TabContainer_noLayout.html | 104 ++++ .../tests/layout/test_TabContainer_remote.html | 109 ++++ 27 files changed, 3059 insertions(+) create mode 100644 includes/js/dijit/tests/layout/ContentPane.html create mode 100644 includes/js/dijit/tests/layout/ContentPane.js create mode 100644 includes/js/dijit/tests/layout/combotab.html create mode 100644 includes/js/dijit/tests/layout/doc0.html create mode 100644 includes/js/dijit/tests/layout/doc1.html create mode 100644 includes/js/dijit/tests/layout/doc2.html create mode 100644 includes/js/dijit/tests/layout/getResponse.php create mode 100644 includes/js/dijit/tests/layout/tab1.html create mode 100644 includes/js/dijit/tests/layout/tab2.html create mode 100644 includes/js/dijit/tests/layout/tab3.html create mode 100644 includes/js/dijit/tests/layout/tab4.html create mode 100644 includes/js/dijit/tests/layout/test_AccordionContainer.html create mode 100644 includes/js/dijit/tests/layout/test_BorderContainer.html create mode 100644 includes/js/dijit/tests/layout/test_BorderContainer_complex.html create mode 100644 includes/js/dijit/tests/layout/test_BorderContainer_experimental.html create mode 100644 includes/js/dijit/tests/layout/test_BorderContainer_full.html create mode 100644 includes/js/dijit/tests/layout/test_BorderContainer_nested.html create mode 100644 includes/js/dijit/tests/layout/test_ContentPane.html create mode 100644 includes/js/dijit/tests/layout/test_LayoutCode.html create mode 100644 includes/js/dijit/tests/layout/test_LayoutContainer.html create mode 100644 includes/js/dijit/tests/layout/test_SplitContainer.html create mode 100644 includes/js/dijit/tests/layout/test_StackContainer.html create mode 100644 includes/js/dijit/tests/layout/test_StackContainer_code.html create mode 100644 includes/js/dijit/tests/layout/test_TabContainer.html create mode 100644 includes/js/dijit/tests/layout/test_TabContainerTitlePane.html create mode 100644 includes/js/dijit/tests/layout/test_TabContainer_noLayout.html create mode 100644 includes/js/dijit/tests/layout/test_TabContainer_remote.html (limited to 'includes/js/dijit/tests/layout') diff --git a/includes/js/dijit/tests/layout/ContentPane.html b/includes/js/dijit/tests/layout/ContentPane.html new file mode 100644 index 0000000..8853a3e --- /dev/null +++ b/includes/js/dijit/tests/layout/ContentPane.html @@ -0,0 +1,577 @@ + + + + Test ContentPane + + + + + + +

dijit.layout.ContentPane test

+

Test designed to run on localhost (minimize impact from network latency)

+ +

This should NOT be parsed automatically

+
+
If this has a different background and a red border, the page parsed when it shouldn't
+
+

Testing ContentPane

+
+ Even tough the entire page isn't scanned for widgets, + any sub widgets of a ContentPane will be created when a ContentPane is created
+ This should have a backgroundcolor and a border +
+
+
+
+

+
+ + diff --git a/includes/js/dijit/tests/layout/ContentPane.js b/includes/js/dijit/tests/layout/ContentPane.js new file mode 100644 index 0000000..c0b53bc --- /dev/null +++ b/includes/js/dijit/tests/layout/ContentPane.js @@ -0,0 +1,9 @@ +if(!dojo._hasResource["dijit.tests.layout.ContentPane"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. +dojo._hasResource["dijit.tests.layout.ContentPane"] = true; +dojo.provide("dijit.tests.layout.ContentPane"); + +if(dojo.isBrowser){ + doh.registerUrl("dijit.tests.layout.ContentPane", dojo.moduleUrl("dijit", "tests/layout/ContentPane.html"), 30000); +} + +} diff --git a/includes/js/dijit/tests/layout/combotab.html b/includes/js/dijit/tests/layout/combotab.html new file mode 100644 index 0000000..c881761 --- /dev/null +++ b/includes/js/dijit/tests/layout/combotab.html @@ -0,0 +1,11 @@ +
+State: + + + + diff --git a/includes/js/dijit/tests/layout/doc0.html b/includes/js/dijit/tests/layout/doc0.html new file mode 100644 index 0000000..4c3f252 --- /dev/null +++ b/includes/js/dijit/tests/layout/doc0.html @@ -0,0 +1,12 @@ +

Document 0

+This document has a link.
+(to check we're copying children around properly).
+Also it's got a widget, a combo box:
+ +And a button too: + +Here's some text that comes AFTER the button. diff --git a/includes/js/dijit/tests/layout/doc1.html b/includes/js/dijit/tests/layout/doc1.html new file mode 100644 index 0000000..2bff8c5 --- /dev/null +++ b/includes/js/dijit/tests/layout/doc1.html @@ -0,0 +1,13 @@ + + +

Document 1

+ +

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus risus. Praesent eu lacus et enim laoreet sollicitudin. Quisque mollis mi a lectus. Cras ante. Aliquam tempus justo laoreet justo. Vestibulum egestas feugiat nisi. Nulla ultrices consequat felis. Curabitur dignissim augue vel enim. Fusce tempus tempor mauris. Praesent suscipit pede in nunc. Duis mi neque, malesuada non, volutpat et, nonummy et, ante. Aliquam neque. Nulla rhoncus, turpis eget mattis molestie, magna nulla dictum ligula, quis tempor odio justo vel pede. Donec sit amet tellus. Phasellus sapien. Nulla id massa at nunc condimentum fringilla. Fusce suscipit ipsum et lorem consequat pulvinar. Quisque lacinia sollicitudin tellus.

+ +

Nulla massa lectus, porttitor vitae, dignissim vel, iaculis eget, mi. Vestibulum sed lorem. Nullam convallis elit id leo. Aliquam est purus, rutrum at, sodales non, nonummy a, justo. Proin at diam vel nibh dictum rhoncus. Duis nisl. Etiam orci. Integer hendrerit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In ac erat. Sed velit orci, sodales quis, commodo ut, elementum sed, nibh. Cras mattis vulputate nisl. Mauris eu nulla sed orci dignissim laoreet. Morbi commodo, est vitae pharetra ullamcorper, ante nisl ultrices velit, sit amet vulputate turpis elit id lacus. Vestibulum diam. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

+ +

Praesent rutrum nunc quis felis. Morbi tempor. Quisque porta magna imperdiet magna. Ut gravida, ipsum eu euismod consectetuer, nisl lectus posuere diam, vel dignissim elit nisi sit amet lorem. Curabitur non nunc. Morbi metus. Nulla facilisi. Sed et ante. Etiam ac lectus. Duis tristique molestie sem. Pellentesque nec quam. Nullam pellentesque ullamcorper sem.

+ +

Duis ut massa eget arcu porttitor pharetra. Curabitur malesuada nisi id eros. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Vivamus massa. Donec quis justo ut tortor faucibus suscipit. Vivamus commodo neque eget nulla. Donec imperdiet lacus condimentum justo. In sollicitudin magna vitae libero. Curabitur scelerisque libero et eros imperdiet cursus. Maecenas adipiscing. Integer imperdiet, neque ut fringilla semper, leo nisi tincidunt enim, id accumsan leo nisi a libero. Morbi rutrum hendrerit eros. Vestibulum eget augue vel urna congue faucibus.

+ +

Morbi ante sapien, consequat non, consectetuer vitae, pharetra non, dui. Cras tempus posuere quam. Vestibulum quis neque. Duis lobortis urna in elit. Aliquam non tellus. Etiam nisi eros, posuere vel, congue id, fringilla in, risus. Duis semper rutrum risus. Nullam felis massa, lobortis sit amet, posuere tempor, mattis id, tellus. Nulla id arcu interdum risus commodo tincidunt. Vivamus pretium pulvinar pede. Vivamus eget erat. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam bibendum, enim eu venenatis tempor, nunc elit convallis tortor, sit amet vulputate turpis arcu eu pede. Praesent molestie, lacus sed vehicula convallis, enim pede fringilla nunc, at porttitor justo ante a diam. Nunc magna eros, interdum vel, varius eget, volutpat eu, orci. Nunc nec mauris. Nulla facilisi. Vivamus dictum elementum risus. Nam placerat arcu.

diff --git a/includes/js/dijit/tests/layout/doc2.html b/includes/js/dijit/tests/layout/doc2.html new file mode 100644 index 0000000..1173b29 --- /dev/null +++ b/includes/js/dijit/tests/layout/doc2.html @@ -0,0 +1,13 @@ + + +

Document 2

+ +

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus risus. Praesent eu lacus et enim laoreet sollicitudin. Quisque mollis mi a lectus. Cras ante. Aliquam tempus justo laoreet justo. Vestibulum egestas feugiat nisi. Nulla ultrices consequat felis. Curabitur dignissim augue vel enim. Fusce tempus tempor mauris. Praesent suscipit pede in nunc. Duis mi neque, malesuada non, volutpat et, nonummy et, ante. Aliquam neque. Nulla rhoncus, turpis eget mattis molestie, magna nulla dictum ligula, quis tempor odio justo vel pede. Donec sit amet tellus. Phasellus sapien. Nulla id massa at nunc condimentum fringilla. Fusce suscipit ipsum et lorem consequat pulvinar. Quisque lacinia sollicitudin tellus.

+ +

Nulla massa lectus, porttitor vitae, dignissim vel, iaculis eget, mi. Vestibulum sed lorem. Nullam convallis elit id leo. Aliquam est purus, rutrum at, sodales non, nonummy a, justo. Proin at diam vel nibh dictum rhoncus. Duis nisl. Etiam orci. Integer hendrerit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In ac erat. Sed velit orci, sodales quis, commodo ut, elementum sed, nibh. Cras mattis vulputate nisl. Mauris eu nulla sed orci dignissim laoreet. Morbi commodo, est vitae pharetra ullamcorper, ante nisl ultrices velit, sit amet vulputate turpis elit id lacus. Vestibulum diam. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

+ +

Praesent rutrum nunc quis felis. Morbi tempor. Quisque porta magna imperdiet magna. Ut gravida, ipsum eu euismod consectetuer, nisl lectus posuere diam, vel dignissim elit nisi sit amet lorem. Curabitur non nunc. Morbi metus. Nulla facilisi. Sed et ante. Etiam ac lectus. Duis tristique molestie sem. Pellentesque nec quam. Nullam pellentesque ullamcorper sem.

+ +

Duis ut massa eget arcu porttitor pharetra. Curabitur malesuada nisi id eros. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Vivamus massa. Donec quis justo ut tortor faucibus suscipit. Vivamus commodo neque eget nulla. Donec imperdiet lacus condimentum justo. In sollicitudin magna vitae libero. Curabitur scelerisque libero et eros imperdiet cursus. Maecenas adipiscing. Integer imperdiet, neque ut fringilla semper, leo nisi tincidunt enim, id accumsan leo nisi a libero. Morbi rutrum hendrerit eros. Vestibulum eget augue vel urna congue faucibus.

+ +

Morbi ante sapien, consequat non, consectetuer vitae, pharetra non, dui. Cras tempus posuere quam. Vestibulum quis neque. Duis lobortis urna in elit. Aliquam non tellus. Etiam nisi eros, posuere vel, congue id, fringilla in, risus. Duis semper rutrum risus. Nullam felis massa, lobortis sit amet, posuere tempor, mattis id, tellus. Nulla id arcu interdum risus commodo tincidunt. Vivamus pretium pulvinar pede. Vivamus eget erat. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam bibendum, enim eu venenatis tempor, nunc elit convallis tortor, sit amet vulputate turpis arcu eu pede. Praesent molestie, lacus sed vehicula convallis, enim pede fringilla nunc, at porttitor justo ante a diam. Nunc magna eros, interdum vel, varius eget, volutpat eu, orci. Nunc nec mauris. Nulla facilisi. Vivamus dictum elementum risus. Nam placerat arcu.

diff --git a/includes/js/dijit/tests/layout/getResponse.php b/includes/js/dijit/tests/layout/getResponse.php new file mode 100644 index 0000000..d695a4b --- /dev/null +++ b/includes/js/dijit/tests/layout/getResponse.php @@ -0,0 +1,57 @@ +WARNING This should NEVER be seen, delayed by 2 sec!"; + $delay = 2; + break; + case 1: + echo "
Testing setHref
"; + break; + case 2: + echo "
Delayed setHref test
+
Delayed by " . ($delay/1000000) . " sec.
"; + break; + case 3: + echo "IT WAS the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair, we had everything before us, we had nothing before us, we were all going direct to Heaven, we were all going direct the other way -- in short, the period was so far like the present period, that some of its noisiest authorities insisted on its being received, for good or for evil, in the superlative degree of comparison only"; + break; + case 4: + echo "There were a king with a large jaw and a queen with a plain face, on the throne of England; there were a king with a large jaw and a queen with a fair face, on the throne of France. In both countries it was clearer than crystal to the lords of the State preserves of loaves and fishes, that things in general were settled for ever."; + break; + case 5: + echo "It was the year of Our Lord one thousand seven hundred and seventy- five. Spiritual revelations were conceded to England at that favoured period, as at this. Mrs. Southcott had recently attained her five-and- twentieth blessed birthday, of whom a prophetic private in the Life Guards had heralded the sublime appearance by announcing that arrangements were made for the swallowing up of London and Westminster. Even the Cock-lane ghost had been laid only a round dozen of years, after rapping out its messages, as the spirits of this very year last past (supernaturally deficient in originality) rapped out theirs. Mere messages in the earthly order of events had lately come to the English Crown and People, from a congress of British subjects in America:"; + break; + default: + echo "unknown messId:{$_GET['messId']}"; + } + } + + if(isset($_GET['bounceGetStr']) && $_GET['bounceGetStr']){ + echo "
{$_SERVER["QUERY_STRING"]}
"; + } + + if(isset($_GET['message']) && $_GET['message']){ + echo $_GET['message']; + } + + usleep($delay); + +?> diff --git a/includes/js/dijit/tests/layout/tab1.html b/includes/js/dijit/tests/layout/tab1.html new file mode 100644 index 0000000..a37b927 --- /dev/null +++ b/includes/js/dijit/tests/layout/tab1.html @@ -0,0 +1,6 @@ + +

Tab 1

+ +

I am tab 1. I was loaded externally. WebA11y(something to get focus)

+ +
blah
diff --git a/includes/js/dijit/tests/layout/tab2.html b/includes/js/dijit/tests/layout/tab2.html new file mode 100644 index 0000000..ed1ad76 --- /dev/null +++ b/includes/js/dijit/tests/layout/tab2.html @@ -0,0 +1,3 @@ +

Tab 2

+ +

I am tab 2. I was loaded externally as well.

diff --git a/includes/js/dijit/tests/layout/tab3.html b/includes/js/dijit/tests/layout/tab3.html new file mode 100644 index 0000000..68dca6c --- /dev/null +++ b/includes/js/dijit/tests/layout/tab3.html @@ -0,0 +1,39 @@ +
+
+

This is a nested tab container BUT loaded via an href.

+
+
+

+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean + semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin + porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. + Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. + Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae + risus. +

+

Aliquam vitae enim. Duis scelerisque metus auctor est venenatis + imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem + nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in + massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In + pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra + quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, + felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut + quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla + rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut + semper velit ante id metus. Praesent massa dolor, porttitor sed, + pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit + tortor pharetra congue. Suspendisse pulvinar. +

+

Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam + ornare elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque + nonummy mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus + lobortis, sem vitae nonummy lacinia, nisl est gravida magna, non cursus + est quam sed urna. Phasellus adipiscing justo in ipsum. Duis sagittis + dolor sit amet magna. Suspendisse suscipit, neque eu dictum auctor, + nisi augue tincidunt arcu, non lacinia magna purus nec magna. Praesent + pretium sollicitudin sapien. Suspendisse imperdiet. Class aptent taciti + sociosqu ad litora torquent per conubia nostra, per inceptos + hymenaeos. +

+
+
\ No newline at end of file diff --git a/includes/js/dijit/tests/layout/tab4.html b/includes/js/dijit/tests/layout/tab4.html new file mode 100644 index 0000000..de9cd3c --- /dev/null +++ b/includes/js/dijit/tests/layout/tab4.html @@ -0,0 +1,40 @@ +
+
+

Top of split container loaded via an href.

+
+
+

Bottom of split container loaded via an href.

+

+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean + semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin + porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. + Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. + Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae + risus. +

+

Aliquam vitae enim. Duis scelerisque metus auctor est venenatis + imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem + nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in + massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In + pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra + quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, + felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut + quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla + rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut + semper velit ante id metus. Praesent massa dolor, porttitor sed, + pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit + tortor pharetra congue. Suspendisse pulvinar. +

+

Vestibulum convallis eros ac justo. Proin dolor. Etiam aliquam. Nam + ornare elit vel augue. Suspendisse potenti. Etiam sed mauris eu neque + nonummy mollis. Vestibulum vel purus ac pede semper accumsan. Vivamus + lobortis, sem vitae nonummy lacinia, nisl est gravida magna, non cursus + est quam sed urna. Phasellus adipiscing justo in ipsum. Duis sagittis + dolor sit amet magna. Suspendisse suscipit, neque eu dictum auctor, + nisi augue tincidunt arcu, non lacinia magna purus nec magna. Praesent + pretium sollicitudin sapien. Suspendisse imperdiet. Class aptent taciti + sociosqu ad litora torquent per conubia nostra, per inceptos + hymenaeos. +

+
+
\ No newline at end of file diff --git a/includes/js/dijit/tests/layout/test_AccordionContainer.html b/includes/js/dijit/tests/layout/test_AccordionContainer.html new file mode 100644 index 0000000..d8351e7 --- /dev/null +++ b/includes/js/dijit/tests/layout/test_AccordionContainer.html @@ -0,0 +1,195 @@ + + + + Accordion Widget Demo + + + + + + + + + + + + +

AccordionContainer Tests

+ +

Accordion from markup:

+

HTML before

+

HTML before

+

HTML before

+ +
+
+ Hello World +
+
+

+ Nunc consequat nisi vitae quam. Suspendisse sed nunc. Proin + suscipit porta magna. Duis accumsan nunc in velit. Nam et nibh. + Nulla facilisi. Cras venenatis urna et magna. Aenean magna mauris, + bibendum sit amet, semper quis, aliquet nec, sapien. Aliquam + aliquam odio quis erat. Etiam est nisi, condimentum non, lacinia + ac, vehicula laoreet, elit. Sed interdum augue sit amet quam + dapibus semper. Nulla facilisi. Pellentesque lobortis erat nec + quam. +

+

+ Sed arcu magna, molestie at, eu, elit. + Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum + vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat + augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non + metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus + ut elit convallis eleifend. Fusce tincidunt, justo quis tempus + euismod, magna nulla viverra libero, sit amet lacinia odio diam id + risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, + porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, + faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, + consequat quis, varius interdum, nulla. Donec neque tortor, + sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean + ut eros sit amet ante pharetra interdum. +

+
+
+

The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

+
+
+ +

HTML after

+

HTML after

+

HTML after

+

+

Accordion with widgets

+
+
+ +

+ Nunc consequat nisi vitae quam. Suspendisse sed nunc. Proin + suscipit porta magna. Duis accumsan nunc in velit. Nam et nibh. + Nulla facilisi. Cras venenatis urna et magna. Aenean magna mauris, + bibendum sit amet, semper quis, aliquet nec, sapien. Aliquam + aliquam odio quis erat. Etiam est nisi, condimentum non, lacinia + ac, vehicula laoreet, elit. Sed interdum augue sit amet quam + dapibus semper. Nulla facilisi. Pellentesque lobortis erat nec + quam. +

+

+ Sed arcu magna, molestie at, fringilla in, sodales eu, elit. + Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum + vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat + augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non + metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus + ut elit convallis eleifend. Fusce tincidunt, justo quis tempus + euismod, magna nulla viverra libero, sit amet lacinia odio diam id + risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, + porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, + faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, + consequat quis, varius interdum, nulla. Donec neque tortor, + sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean + ut eros sit amet ante pharetra interdum. +

+
+ + +
+ +
+
+
+ 1Sed arcu magna, molestie at, fringilla in, sodales eu, elit. + Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum + vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat + augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non + metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus + ut elit convallis eleifend. Fusce tincidunt, justo quis tempus + euismod, magna nulla viverra libero, sit amet lacinia odio diam id + risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, + porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, + faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, + consequat quis, varius interdum, nulla. Donec neque tortor, + sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean + ut eros sit amet ante pharetra interdum. +
+
+ 2Sed arcu magna, molestie at, fringilla in, sodales eu, elit. + Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum + vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat + augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non + metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus + ut elit convallis eleifend. Fusce tincidunt, justo quis tempus + euismod, magna nulla viverra libero, sit amet lacinia odio diam id + risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, + porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, + faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, + consequat quis, varius interdum, nulla. Donec neque tortor, + sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean + ut eros sit amet ante pharetra interdum. +
+
+
+
+ +

Programatically created:

+ + +
+ +
+ + + diff --git a/includes/js/dijit/tests/layout/test_BorderContainer.html b/includes/js/dijit/tests/layout/test_BorderContainer.html new file mode 100644 index 0000000..29fae01 --- /dev/null +++ b/includes/js/dijit/tests/layout/test_BorderContainer.html @@ -0,0 +1,163 @@ + + + + dijit.layout.BorderContainer Test + + + + + + + + + + +

dijit.layout.BorderContainer tests

+

Headline layout (default), left is constrained - min:50, max:150

+ +
+
+ top bar +
+
+ left +
+
+ main panel with a link.
+ (to check we're copying children around properly).
+ + Here's some text that comes AFTER the combo box. +
+
+ right +
+
+ bottom bar +
+
+ + +
+ +

Sidebar layout, BiDi sensitive, liveSplitters: false

+ +
+
+ leading +
+
+ top bar +
+
+ main panel with a link.
+ (to check we're copying children around properly).
+ + Here's some text that comes AFTER the combo box. +
+
+ bottom bar +
+
+ trailing +
+
+ +
+

Vertical panels only with splitters

+ +
+
+ top bar +
+ +
+ main panel with a link.
+ (to check we're copying children around properly).
+ + Here's some text that comes AFTER the combo box. +
+
+ bottom bar +
+
+ +
+

More fun with layouts

+ +
+
+
+
top a
+
top b
+
+
+
+
+
bottom c
+
bottom d
+
+
+
+
+
leading e
+
leading f
+
+
+
trailing g
+
+ +
+ + + diff --git a/includes/js/dijit/tests/layout/test_BorderContainer_complex.html b/includes/js/dijit/tests/layout/test_BorderContainer_complex.html new file mode 100644 index 0000000..784171c --- /dev/null +++ b/includes/js/dijit/tests/layout/test_BorderContainer_complex.html @@ -0,0 +1,178 @@ + + + + dijit.layout.BorderContainer Test - complex layout + + + + + + + + + + +

dijit.layout.BorderContainer tests

+ +

Complex layout:

+ +
+
+
+ left bar +
+
+

+ Nunc consequat nisi vitae quam. Suspendisse sed nunc. Proin + suscipit porta magna. Duis accumsan nunc in velit. Nam et nibh. + Nulla facilisi. Cras venenatis urna et magna. Aenean magna mauris, + bibendum sit amet, semper quis, aliquet nec, sapien. Aliquam + aliquam odio quis erat. Etiam est nisi, condimentum non, lacinia + ac, vehicula laoreet, elit. Sed interdum augue sit amet quam + dapibus semper. Nulla facilisi. Pellentesque lobortis erat nec + quam. +

+

+ Sed arcu magna, molestie at, fringilla in, sodales eu, elit. + Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum + vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat + augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non + metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus + ut elit convallis eleifend. Fusce tincidunt, justo quis tempus + euismod, magna nulla viverra libero, sit amet lacinia odio diam id + risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, + porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, + faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, + consequat quis, varius interdum, nulla. Donec neque tortor, + sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean + ut eros sit amet ante pharetra interdum. +

+
+
+

The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

+
+
+ +
+
+ right bar +
+
+

+ Nunc consequat nisi vitae quam. Suspendisse sed nunc. Proin + suscipit porta magna. Duis accumsan nunc in velit. Nam et nibh. + Nulla facilisi. Cras venenatis urna et magna. Aenean magna mauris, + bibendum sit amet, semper quis, aliquet nec, sapien. Aliquam + aliquam odio quis erat. Etiam est nisi, condimentum non, lacinia + ac, vehicula laoreet, elit. Sed interdum augue sit amet quam + dapibus semper. Nulla facilisi. Pellentesque lobortis erat nec + quam. +

+

+ Sed arcu magna, molestie at, fringilla in, sodales eu, elit. + Curabitur mattis lorem et est. Quisque et tortor. Integer bibendum + vulputate odio. Nam nec ipsum. Vestibulum mollis eros feugiat + augue. Integer fermentum odio lobortis odio. Nullam mollis nisl non + metus. Maecenas nec nunc eget pede ultrices blandit. Ut non purus + ut elit convallis eleifend. Fusce tincidunt, justo quis tempus + euismod, magna nulla viverra libero, sit amet lacinia odio diam id + risus. Ut varius viverra turpis. Morbi urna elit, imperdiet eu, + porta ac, pharetra sed, nisi. Etiam ante libero, ultrices ac, + faucibus ac, cursus sodales, nisl. Praesent nisl sem, fermentum eu, + consequat quis, varius interdum, nulla. Donec neque tortor, + sollicitudin sed, consequat nec, facilisis sit amet, orci. Aenean + ut eros sit amet ante pharetra interdum. +

+
+
+

The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

+
+
+
+ +
+ +
+ +
+ +
+

I am tab 3

+

And I was already part of the page! That's cool, no?

+

tooltip on this paragraph

+
I'm a tooltip!
+ +
+ +

+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean + semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin + porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. + Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. + Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae + risus. +

+

Aliquam vitae enim. Duis scelerisque metus auctor est venenatis + imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem + nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in + massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In + pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra + quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, + felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut + quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla + rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut + semper velit ante id metus. Praesent massa dolor, porttitor sed, + pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit + tortor pharetra congue. Suspendisse pulvinar. +

+
+ +
+ SubTab 1 + SubTab 2 +
+ + Sub TabContainer from href + + SplitContainer from href + +
+
+
+
+

bottom bar (edit me)

+
+
+
+ main panel with a link.
+ (to check we're copying children around properly).
+ + Here's some text that comes AFTER the combo box. +
+
+ + + diff --git a/includes/js/dijit/tests/layout/test_BorderContainer_experimental.html b/includes/js/dijit/tests/layout/test_BorderContainer_experimental.html new file mode 100644 index 0000000..46483d9 --- /dev/null +++ b/includes/js/dijit/tests/layout/test_BorderContainer_experimental.html @@ -0,0 +1,253 @@ + + + + + BorderContainer Experiments | The Dojo Toolkit + + + + + + + + + + + +

This is a test

+

This is only a test. An experiment in dynamically altering a BorderContainer's layout + (a seemingly unsupported feature just yet). It Demonstrates how to programatically alter/animate + the size of non-center regions though, and several simple layout configurations +

+ +
+

Layouts:

+
+
+ +
+
+ pane0 +
+
+ +
+
+ Sinlge pane - l1 +
+
+ +
+

two panes, vertical split:

+ + +
+
+ Sinlge pane - left +
+
+ Sinlge pane - center + +
+
+ +
+
+ Sinlge pane - center (splitter) (this is unsupported, and does not work) +
+
+ Sinlge pane - right (no splitter) +
+
+ +
+
+ Sinlge pane - center (no splitter) +
+
+ Sinlge pane - right (splitter) +
+
+
+ +
+
+ Sinlge pane - top (splitter) + +
+
+ Sinlge pane - center +
+
+ +
+
+ Sinlge pane - center +
+
+ Single Pane Bottom (splitter) +
+
+ Single Pane Top (splitter) +
+
+ + + + + diff --git a/includes/js/dijit/tests/layout/test_BorderContainer_full.html b/includes/js/dijit/tests/layout/test_BorderContainer_full.html new file mode 100644 index 0000000..65386c2 --- /dev/null +++ b/includes/js/dijit/tests/layout/test_BorderContainer_full.html @@ -0,0 +1,56 @@ + + + + dijit.layout.BorderContainer Test - Full Screen + + + + + + + + + +
+
+ leading +
+
+ top bar +
+
+ main panel with a link.
+ (to check we're copying children around properly).
+ + Here's some text that comes AFTER the combo box. +
+
+ bottom bar +
+
+ trailing +
+
+ + diff --git a/includes/js/dijit/tests/layout/test_BorderContainer_nested.html b/includes/js/dijit/tests/layout/test_BorderContainer_nested.html new file mode 100644 index 0000000..72bdf53 --- /dev/null +++ b/includes/js/dijit/tests/layout/test_BorderContainer_nested.html @@ -0,0 +1,70 @@ + + + + dijit.layout.BorderContainer Test + + + + + + + + + + +

dijit.layout.BorderContainer tests

+

Basic layout

+ +
+
+ left +
+
+ right +
+
+ top bar +
+
+ bottom bar +
+
+ +
+
+ left +
+
+ right +
+
+ top bar +
+
+ bottom bar +
+
+ main panel with a link.
+ (to check we're copying children around properly).
+ + Here's some text that comes AFTER the combo box. +
+
+
+
+ + diff --git a/includes/js/dijit/tests/layout/test_ContentPane.html b/includes/js/dijit/tests/layout/test_ContentPane.html new file mode 100644 index 0000000..4557bef --- /dev/null +++ b/includes/js/dijit/tests/layout/test_ContentPane.html @@ -0,0 +1,94 @@ + + + + ContentPane Test + + + + + + + + + +

Dijit layout.ContentPane tests

+

pre-container paragraph

+ +
+ some text (top-level container) + +
+ + text in the inner container (1) + +
+ hi +
+ + text in the inner container (2) + +
+ inner-inner 2 +
+ + text in the inner container (3) + +
+ inner-inner 3 +
+ + text in the inner container (4) + +
+ + some more text (top-level container) +
+ +

mid-container paragraph

+ +
+ 2nd top-level container +
+ +

post-container paragraph

+ +
+ some content pane blah blah blah +
+
+

This text should automatically be replaced by downloaded content from combotab.html

+
+ + + + diff --git a/includes/js/dijit/tests/layout/test_LayoutCode.html b/includes/js/dijit/tests/layout/test_LayoutCode.html new file mode 100644 index 0000000..9cec35e --- /dev/null +++ b/includes/js/dijit/tests/layout/test_LayoutCode.html @@ -0,0 +1,383 @@ + + + + Programmatic Layout Demo + + + + + + + + + +

Test of layout code programmatic creation

+ + + + + +
+

Creator

+

Pressing a button will programatically add a hierarchy of widgets

+ + + + + +
+

Current widgets

+ This pane will let you try certain operations on each of the widgets. +
+
+
+
+ When you press a button, this will be filled in with the generated widgets +
+ + diff --git a/includes/js/dijit/tests/layout/test_LayoutContainer.html b/includes/js/dijit/tests/layout/test_LayoutContainer.html new file mode 100644 index 0000000..cbe08f6 --- /dev/null +++ b/includes/js/dijit/tests/layout/test_LayoutContainer.html @@ -0,0 +1,174 @@ + + + + dijit.layout.LayoutContainer Test + + + + + + + + + +

Dijit layout.LayoutContainer tests

+

Basic layout. Tabindex="0" added to each pane to test for tab order matching source code order. Tab order +should be: left, right, top, middle/main, bottom

+ +
+
+ left +
+
+ right +
+
+ top bar +
+
+ main panel with a link.
+ (to check we're copying children around properly).
+ + Here's some text that comes AFTER the combo box. +
+ +
+ bottom bar +
+ +
+ +

Advanced layout. Tabindex="0" added to each pane to test for tab order matching source code order. Tab order +should be: left, top, bottom, inner left, inner middle, inner right. This is not an ideal tab order. See below to use nested +layout containers to achieve a tab order which matches presentation and source code order.

+
+
+ left +
+
+ top bar +
+
+ + bottom bar +
+
+ inner left +
+ +
+ main panel with a link.
+ + (to check we're copying children around properly).
+ + Here's some text that comes AFTER the combo box. +
+
+ inner right +
+
+ +

Advanced layout with nested containers. Tabindex="0" added to content panes to show tab order. Order should be: +left, top, inner left, inner middle, inner right, bottom. This is the preferred tab order for this type of layout.

+
+
+ left +
+
+
+ +
+ top bar +
+
+
+
+ inner left +
+
+ main panel with a link.
+ (to check we're copying children around properly).
+ + Here's some text that comes AFTER the combo box. +
+
+ inner right +
+
+
+
+ bottom bar +
+
+
+
+ +

Goofy spiral layout. Match of source code order to tab order can not be achieved with this type of layout.

+
+
+ outer left +
+
+ outer top +
+
+ outer right +
+
+ outer bottom +
+
+ inner left +
+
+ inner top +
+
+ inner right +
+
+ inner bottom +
+
+ main panel with a link.
+ (to check we're copying children around properly).
+ + Here's some text that comes AFTER the combo box. +
+
+ + + diff --git a/includes/js/dijit/tests/layout/test_SplitContainer.html b/includes/js/dijit/tests/layout/test_SplitContainer.html new file mode 100644 index 0000000..f71d2dd --- /dev/null +++ b/includes/js/dijit/tests/layout/test_SplitContainer.html @@ -0,0 +1,116 @@ + + + + SplitContainer Widget Demo + + + + + + + + + +

Dijit Split Container Test

+

HTML before

+ +
+
+ this box has three split panes +
+
+ in vertical mode +
+
+ without active resizing +
+
+ +
+
+ this box has two horizontal panes +
+
+ with active resizing, a smaller sizer, different starting sizes and minimum sizes +
+
+ +

HTML after

+ +the following splitter contains two iframes, see whether the resizer works ok in this situation +
+
+ +
+
+ +
+
+ +

Programatic Example:

+
+ + + diff --git a/includes/js/dijit/tests/layout/test_StackContainer.html b/includes/js/dijit/tests/layout/test_StackContainer.html new file mode 100644 index 0000000..834b874 --- /dev/null +++ b/includes/js/dijit/tests/layout/test_StackContainer.html @@ -0,0 +1,62 @@ + + + + StackContainer Demo + + + + + + + + + + +

A Tale Of Two Cities

+ + + + + +
+

IT WAS the best of times, it of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair, we had everything before us, we had nothing before us, we were all going direct to Heaven, we were all going direct the other way -- in short, the period was so far like the present period, that some of its noisiest authorities insisted on its being received, for good or for evil, in the superlative degree of comparison only

+

There were a king with a large jaw and a queen with a plain face, on the throne of England; there were a king with a large jaw and a queen with a fair face, on the throne of France. In both countries it was clearer than crystal to the lords of the State preserves of loaves and fishes, that things in general were settled for ever.

+

It was the year of Our Lord one thousand seven hundred and seventy- five. Spiritual revelations were conceded to England at that favoured period, as at this. Mrs. Southcott had recently attained her five-and- twentieth blessed birthday, of whom a prophetic private in the Life Guards had heralded the sublime appearance by announcing that arrangements were made for the swallowing up of London and Westminster. Even the Cock-lane ghost had been laid only a round dozen of years, after rapping out its messages, as the spirits of this very year last past (supernaturally deficient in originality) rapped out theirs. Mere messages in the earthly order of events had lately come to the English Crown and People, from a congress of British subjects in America:

+
+ + + + + + + diff --git a/includes/js/dijit/tests/layout/test_StackContainer_code.html b/includes/js/dijit/tests/layout/test_StackContainer_code.html new file mode 100644 index 0000000..137cc6e --- /dev/null +++ b/includes/js/dijit/tests/layout/test_StackContainer_code.html @@ -0,0 +1,64 @@ + + + + StackContainer Demo + + + + + + + + + + +

A Tale Of Two Cities

+ +
Links:
+ +
+

IT WAS the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair, we had everything before us, we had nothing before us, we were all going direct to Heaven, we were all going direct the other way -- in short, the period was so far like the present period, that some of its noisiest authorities insisted on its being received, for good or for evil, in the superlative degree of comparison only

+

There were a king with a large jaw and a queen with a plain face, on the throne of England; there were a king with a large jaw and a queen with a fair face, on the throne of France. In both countries it was clearer than crystal to the lords of the State preserves of loaves and fishes, that things in general were settled for ever.

+

It was the year of Our Lord one thousand seven hundred and seventy- five. Spiritual revelations were conceded to England at that favoured period, as at this. Mrs. Southcott had recently attained her five-and- twentieth blessed birthday, of whom a prophetic private in the Life Guards had heralded the sublime appearance by announcing that arrangements were made for the swallowing up of London and Westminster. Even the Cock-lane ghost had been laid only a round dozen of years, after rapping out its messages, as the spirits of this very year last past (supernaturally deficient in originality) rapped out theirs. Mere messages in the earthly order of events had lately come to the English Crown and People, from a congress of British subjects in America:

+
+ + + + diff --git a/includes/js/dijit/tests/layout/test_TabContainer.html b/includes/js/dijit/tests/layout/test_TabContainer.html new file mode 100644 index 0000000..5d51a8a --- /dev/null +++ b/includes/js/dijit/tests/layout/test_TabContainer.html @@ -0,0 +1,183 @@ + + + + TabContainer Demo + + + + + + + + + + +

Dijit layout.TabContainer tests

+ +

These tabs are made up of local and external content. Tab 1 and Tab 2 are loading + files tab1.html and tab2.html. Tab 3 and Another Tab are using content that is already + part of this page. Tab2 is initially selected. +

+ +
+ +
+ +
+ +
+

I am tab 3

+

And I was already part of the page! That's cool, no?

+

tooltip on this paragraph

+
I'm a tooltip!
+ +
+ +

+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean + semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin + porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. + Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. + Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae + risus. +

+

Aliquam vitae enim. Duis scelerisque metus auctor est venenatis + imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem + nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in + massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In + pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra + quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, + felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut + quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla + rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut + semper velit ante id metus. Praesent massa dolor, porttitor sed, + pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit + tortor pharetra congue. Suspendisse pulvinar. +

+
+ +
+ SubTab 1 + SubTab 2 +
+ + Sub TabContainer from href + + SplitContainer from href + +
+ +

+ The next example is with closable tabs. + Tab 1 and Tab 3 can be closed; Tab 3 has a confirm box. +

+ +
+
+
+
+

I am tab 3

+

And I was already part of the page! That's cool, no?

+

If you try to close me there should be a confirm dialog.

+
+
+ +

Tabs with titles on the bottom:

+ +
+
+
+
+ +

Tabs with titles on the left:

+ +
+
+
+
+ +

Tabs with titles on the right:

+ +
+
+
+
+ +

+
+
+ Once upon a time there was a dear little girl who was loved by + every one who looked at her, but most of all by her grandmother, + and there was nothing that she would not have given to the child. +
+
+ Hard by a great forest dwelt a poor wood-cutter with his wife + and his two children. The boy was called Hansel and the girl Gretel. + He had little to bite and to break, and once when great dearth fell + on the land, he could no longer procure even daily bread. +
+
+ There was once upon a time a hermit who lived in a forest at the foot + of a mountain, and passed his time in prayer and good works, + and every evening he carried, to the glory of God, two pails of water + up the mountain. +
+ +

Typical rendering time

+ + + +
IEFirefox (mac)
1719922
+

Rendering time

+ + + diff --git a/includes/js/dijit/tests/layout/test_TabContainerTitlePane.html b/includes/js/dijit/tests/layout/test_TabContainerTitlePane.html new file mode 100644 index 0000000..139eb2b --- /dev/null +++ b/includes/js/dijit/tests/layout/test_TabContainerTitlePane.html @@ -0,0 +1,75 @@ + + + + TabContainer Nested TitlePane Test + + + + + + + + + + +

Dijit layout.TabContainer nested TitlePane tests

+ +
+ +
+

I am tab 1

+
+

This is a title pane, containing another tab container ...

+

+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque iaculis, nulla id semper faucibus, pede tellus nonummy magna, vitae adipiscing orci arcu ut augue. Nunc condimentum, magna a vestibulum convallis, libero purus pulvinar orci, sed vestibulum urna sem ut pede. More Ipsum... +

+
+
+
+
+
+
+
+ +
+ + +

Typical rendering time

+ + + +
IEFirefox (mac)
1719922
+

Rendering time

+ + + diff --git a/includes/js/dijit/tests/layout/test_TabContainer_noLayout.html b/includes/js/dijit/tests/layout/test_TabContainer_noLayout.html new file mode 100644 index 0000000..3fb8d15 --- /dev/null +++ b/includes/js/dijit/tests/layout/test_TabContainer_noLayout.html @@ -0,0 +1,104 @@ + + + + TabContainer doLayout=false Demo + + + + + + + + + + +

Dijit layout.TabContainer doLayout=false tests

+ +

+ This tests tabs in doLayout=false mode, in which case the tab container's height == + the height of the currently selected tab. +

+

With doLayout=false mode tabs to the left or right are not supported and tabs at the bottom are a bit buggy in FireFox. +

+ + + + +
+ +
+ +
+ +
+

I am tab 3

+

And I was already part of the page! That's cool, no?

+ tooltip on this span +
I'm a tooltip!
+ +
+ +

+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean + semper sagittis velit. Cras in mi. Duis porta mauris ut ligula. Proin + porta rutrum lacus. Etiam consequat scelerisque quam. Nulla facilisi. + Maecenas luctus venenatis nulla. In sit amet dui non mi semper iaculis. + Sed molestie tortor at ipsum. Morbi dictum rutrum magna. Sed vitae + risus. +

+

Aliquam vitae enim. Duis scelerisque metus auctor est venenatis + imperdiet. Fusce dignissim porta augue. Nulla vestibulum. Integer lorem + nunc, ullamcorper a, commodo ac, malesuada sed, dolor. Aenean id mi in + massa bibendum suscipit. Integer eros. Nullam suscipit mauris. In + pellentesque. Mauris ipsum est, pharetra semper, pharetra in, viverra + quis, tellus. Etiam purus. Quisque egestas, tortor ac cursus lacinia, + felis leo adipiscing nisi, et rhoncus elit dolor eget eros. Fusce ut + quam. Suspendisse eleifend leo vitae ligula. Nulla facilisi. Nulla + rutrum, erat vitae lacinia dictum, pede purus imperdiet lacus, ut + semper velit ante id metus. Praesent massa dolor, porttitor sed, + pulvinar in, consequat ut, leo. Nullam nec est. Aenean id risus blandit + tortor pharetra congue. Suspendisse pulvinar. +

+
+ +
+ SubTab 1 + SubTab 2 +
+ + Sub TabContainer from href +
+ +

+ Some text here. This should appear directly below the TabContainer, + and the position will change based on the current height of the TabContainer. +

+ + diff --git a/includes/js/dijit/tests/layout/test_TabContainer_remote.html b/includes/js/dijit/tests/layout/test_TabContainer_remote.html new file mode 100644 index 0000000..19515a9 --- /dev/null +++ b/includes/js/dijit/tests/layout/test_TabContainer_remote.html @@ -0,0 +1,109 @@ + + + + TabContainer Demo + + + + + + + + + + +

Dijit layout.TabContainer (delayed) remote tests

+ +

These tabs are made up of external content. Loading is delayed to make it easier to see if refreshOnShow and preload = 'false' is working.
+ The tabs also tests to insert html in the Tab title +

+ +
Create a Tab
+
+ Tab1 + refreshOnShow + + + + Tab 3 + + +
+ +

Rendering time

+ + + -- cgit v1.2.3-54-g00ecf