README 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. -------------------------------------------------------------------------------
  2. dojox.layout Experimental and Extended Layout Widgets
  3. -------------------------------------------------------------------------------
  4. Version 1.0
  5. Release date: 10/31/2007
  6. -------------------------------------------------------------------------------
  7. Project state:
  8. [BorderContainer] deprecated, use dijit.layout.BorderContainer
  9. [ContentPane] beta
  10. [DragPane] experimental
  11. [ExpandoPane] experimental
  12. [FloatingPane] sub-experimental
  13. [GridContainer] experimental
  14. [RadioGroup] experimental
  15. [RadioGroupFade/Slide] experimental
  16. [ResizeHandle] experimental
  17. [RotatorContainer] beta
  18. [ScrollPane] experimental
  19. [TableContainer] experimental
  20. -------------------------------------------------------------------------------
  21. Credits
  22. [BorderContainer] Adam Peller (peller)
  23. [ContentPane] Fredrik Johansson (mumme)
  24. [DragPane] Peter Higgins (dante)
  25. [ExpandoPane] Peter Higgins (dante)
  26. [FloatingPane] Peter Higgins (dante)
  27. [GridContainer/GridContainerLite] Erwan Morvillez (emorvillez), Jeff Cunat (jfcunat), Guillaume Mouricou (gmouricou), Peter Higgins (dante)
  28. [RadioGroup/Fade/Slide] Peter Higgins (dante)
  29. [ResizeHandle] Peter Higgins (dante)
  30. [RotatorContainer] Chris Barber (cb1)
  31. [ScrollPane] Peter Higgins (dante), Shane O'Sullivan (sos)
  32. [TableContainer] Shane O'Sullivan (sos)
  33. -------------------------------------------------------------------------------
  34. Project description
  35. placeholder for dijit.layout extensions. Currently only:
  36. dojo.layout.BorderContainer - deprecated, simple replacement at dijit.layout.BorderContainer
  37. dojox.layout.ContentPane - an extension on dijit ContentPane.
  38. Supports inline scripts, inline styles, relative path adjustments
  39. and having a table tag as domNode.
  40. dojox.layout.DragPane - an experimental start of a simple Dragable pane
  41. (drag larger content around inside of a sized pane) Does not support borderContainer
  42. LayoutContainer resizing yet.
  43. dojox.layout.ExpandoPane - Intended only as a child of BorderContainer, provides an
  44. experimental layout region (top/left/right/bottom) that collapses when toggled, hiding
  45. the layout children contained within.
  46. dojox.layout.FloatingPane - an extension on TitlePane for drag/drop
  47. operation, "docking" [minimize/maximize], and resizing. HIGHLY experimental.
  48. dojox.layout.GridContainer - displays children in a definable grid-layout,
  49. allowing children to optionally be repositioned with DnD
  50. dojox.layout.RadioGroup - a stack container with sliding or fading transitions
  51. (and an internal button set to mimic a tab container, but fires on hover)
  52. - RadioGroupFade - fade transitions
  53. - RadioGroupSlide - slide transitions
  54. dojox.layout.ResizeHandle - resize handle to attach to a domNode.
  55. works well on normal domNodes, but will require adding a resizeTo(w,h)
  56. method to any widget you wish to use it on. [experimental]
  57. dojox.layout.RotatorContainer - similar to a RadioGroup, but provides advanced button's and
  58. control.
  59. dojox.layout.ScrollPane - a dynamically scrolling pane. Adjusts naturally sized content
  60. to a "viewport" and scrolls based on relative mouse position.
  61. dojox.layout.TableContainer - A container widget that lays out child widgets using a
  62. Table element. It can create labels for each widget, placed either above or
  63. beside the widgets.
  64. -------------------------------------------------------------------------------
  65. Dependencies
  66. require Dojo Core, Dojo Base (fx), and Dijit
  67. -------------------------------------------------------------------------------
  68. Installation:
  69. checkout:
  70. http://svn.dojotoolkit.org/src/dojox/trunk/layout/
  71. http://svn.dojotoolkit.org/src/dijit/trunk/
  72. and require via:
  73. dojo.require("dojox.layout.FloatingPane");
  74. or:
  75. dojo.require("dojox.layout.ContentPane");
  76. etc ...
  77. Each component has a required CSS File with a similar name, contained within the
  78. /resources folder. Include that file in your page. For instance, if using
  79. the dojox.layout.ExpandoPane:
  80. <link rel="stylesheet" href="dojo-tree/dojox/layout/resources/ExpandoPane.css" />
  81. -------------------------------------------------------------------------------
  82. Basic Usage:
  83. <div dojoType="dojox.layout.FloatingPane" title="my title">
  84. Content To be Floated
  85. </div>
  86. <div dojoType="dojox.layout.ContentPane"
  87. adjustPaths="true"
  88. renderStyles="true"
  89. executeScripts="true"
  90. href="my/page/containing/scripts/and/styles/in/a/sub/folder.html"
  91. >
  92. Initial content, will be replace by href.
  93. paths in folder.html will be adjusted to match this page
  94. </div>