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/form/test_Button.html | 286 ++++++++++++++++++++++++++ 1 file changed, 286 insertions(+) create mode 100644 includes/js/dijit/tests/form/test_Button.html (limited to 'includes/js/dijit/tests/form/test_Button.html') diff --git a/includes/js/dijit/tests/form/test_Button.html b/includes/js/dijit/tests/form/test_Button.html new file mode 100644 index 0000000..7c04f50 --- /dev/null +++ b/includes/js/dijit/tests/form/test_Button.html @@ -0,0 +1,286 @@ + + + + Dojo Button Widget Test + + + + + + + + + +

Dijit Button Test

+

Simple, drop down & combo buttons

+

+ Buttons can do an action, display a menu, or both: +

+
+ + tooltip on button +
+ Edit! +
+
Cut
+
Copy
+
Paste
+
+
+ Submenu + +
+
+
+
+ Color + +
+
+ Save + +
+ +
+
+

Buttons with no text label

+

Buttons have showLabel=false so text is not displayed. Should have title attribute displayed on mouse over

+
+ +
+ Color + +
+
+ Save + +
+
+
+

Toggle buttons

+

The button CSS as well as the icon CSS can change on toggle

+
+ + +
+
+

Sizing

+

Short button, tall buttons, big buttons, small buttons... + These buttons size to their content (just like <button>).

+
+ + + + +
+
+
+

Customized buttons

+

Dojo users can customize styles. Here's an example:

+ +
+ + + +
+
+

Toggling the display test

+

+ (Ticket #403) +

+
+ +
+ +
+

Programatically changing buttons

+

clicking the buttons below will change the buttons above

+ +
+ + + +
+

Button instantiated via javacript:

+
+ +

DropDownButton instantiated via javacript:

+ + + + + + + -- cgit v1.2.3