wunder-ful.com

Search

DynaComponents

DynaComponents are lightweight JavaScript widgets designed to provide flexible and functional tools while using minimum bandwidth. They are designed for modern browsers and are tested under firefox, and IE6. Help in testing on other platforms would be appriciated. Click here for a demo. Features of all Components:
  • Lazy rendering, until the component is displayed, no HTML elements are created.
  • Flexible callback system allows any function to be called with any number of parameters.
  • Components are accurately positioned with window edge collision detection.

Currently available widgets are:

DynaCalendar: A date selection widget. Internationalized day and month names. Javascript internationalization is pretty pathetic, but this is as good as it gets. Demo Page

DynaDialog: A modal dialog that loads a second url within. The opening page receives a callback when it is closed. Demo Page

DynaMenu: A JavaScript menu. Supports sub-menus, enabling and disabling menu items, and generic callback handlers for entire menus. Demo Page

Tips:

  • All widgets require DynaCore.js.
  • If rendering in a strict mode (with a doctype), the html and body elements of the document must have a width and height of 100% in order for widgets to be properly positioned.
  • Native functions cannot be used with an Invocation, simply wrap in your own function if you need to call a native function.
Download code and examples:  DynaComponents 0.93  Changelog: 0.90 4/22/2006 Initial public release. 0.91 4/23/2006 Private release.  Created core functions for cross-browser event property retrieval to reduce event handler size. 0.92 5/14/2006 Public release.  Moved event handler functions out of the global scope by making them "static" methods.  Added Date.format for easy date formatting. 0.93 5/19/2006 Public release.  Fix errors in core event handling functions under Internet Explorer.  Change license to LGPL and include in LICENSE.