r13463 - Products.Archetypes/trunk/Products/Archetypes/skins/archetypes/widgets/js
"Matt Barkau" <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.archetypes.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: rmattb
Date: Sat Feb 5 20:44:29 2011
New Revision: 13463
Modified:
Products.Archetypes/trunk/Products/Archetypes/skins/archetypes/widgets/js/keywordmultiselect.js
Log:
Added comments to prepare for refactoring in JavaScript for keyword multiple select enhancement PLIP. Refs #11017.
Modified: Products.Archetypes/trunk/Products/Archetypes/skins/archetypes/widgets/js/keywordmultiselect.js
==============================================================================
--- Products.Archetypes/trunk/Products/Archetypes/skins/archetypes/widgets/js/keywordmultiselect.js (original)
+++ Products.Archetypes/trunk/Products/Archetypes/skins/archetypes/widgets/js/keywordmultiselect.js Sat Feb 5 20:44:29 2011
@@ -88,6 +88,68 @@
return html;
}
+// // Handle navigation of options
+// function handleNavigation(device, element, option) {
+// // Highlight navigated option
+//
+// // Scroll the optionsBox
+//
+// }
+//
+// // Handle selection of options
+// function handleSelection(device, element, option) {
+// // Highlight selected option
+//
+// // Toggle a checkbox (if not already done directly)
+//
+// // Refocus the optionsBox or a checkbox (if one was tabbed to)
+//
+// }
+//
+// // Detect navigation with tab key
+// // if tab key
+// // Save navigation input device to optionsBox
+// optionsBox.navigationDevice = "tab key";
+// // Save navigated DOM element to optionsBox
+// optionsBox.navigationElement = ;
+// // Save navigated option to optionsBox
+// optionsBox.navigationOption = ;
+// // Call handle navigation of options
+// handleNavigation();
+//
+// // Detect navigation with mouse or non-tab keys
+// // if mouse or arrows or page up/down or first letter
+// // Save navigation input device to optionsBox
+// optionsBox.navigationDevice = "mouse or non-tab key";
+// // Save navigated DOM element to optionsBox
+// optionsBox.navigationElement = ;
+// // Save navigated option to optionsBox
+// optionsBox.navigationOption = ;
+// // Call handle navigation of options
+// handleNavigation();
+//
+// // Detect selection with mouse
+// // if mouse click
+// // Save selection input device to optionsBox
+// optionsBox.selectionDevice = "mouse";
+// // Save selected DOM element to optionsBox
+// optionsBox.selectionElement = ;
+// // Save selected option to optionsBox
+// optionsBox.selectionOption = ;
+// // Call handle selection of options
+// handleSelection();
+//
+// // Detect selection with keyboard
+// // if space or enter keys
+// // Save selection input device to optionsBox
+// optionsBox.selectionDevice = "keyboard";
+// // Save selected DOM element to optionsBox
+// optionsBox.selectionElement = ;
+// // Save selected option to optionsBox
+// optionsBox.selectionOption = ;
+// // Call handle selection of options
+// handleSelection();
+
// Building the actual options
function buildOptions(options)
{
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb