My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

gWidgets is a collection of simple javascript "widgets" with AJAX capability. Open-source license.

gWidgets is a simple, unobtrusive and light (roughly 20k) javascript library that delivers "widgets" for your website. It is one convenient package with several widgets included in one file and sharing common features. So far we have 4 widgets, but more will come soon.

  • gExpander: a simple way to show/hide (toggle) inline/ajax content.
  • gTab: tab solution for inline/ajax content.
  • gBox: simple modal window for image and inline/ajax content.
  • gTip: tooltip solution for inline/ajax content.

Yes I know, you can already find similar widgets around the internet but my concerns in gWidgets are:

  • Widgets not bloated with features but rather "light" widgets with the minimum features,
  • All widgets supporting ajax when it makes sense and still respect as much as possible accessibility,
  • as much as possible unobtrusive widgets that just need class on html element to be applied,
  • Common look-and-feel (loading message, error message,...) and easy translation of all messages.

Technically speaking, follow me...

  • code heavily based on Prototype (hey, when you load a 65k library or more, you do not want to use only the $() function!),
  • OOP as much as possible to have a parent class and inherit from it to create widgets (use Base.js),
  • simple widgets that do not need 200+ line of code, yet powerful enough to be useful and nice.
  • ajaxified widgets as much as possible: allow them to interact inline or get things from the network through an XHR request (but still keep as much as possible accessibility),
  • consistent look-and-feel, which means that I want, as much as possible all those widgets to share same css style, messages,...

If you already use Prototype , it can be a good solution for you: 4 widgets in roughly 20k so far (including Base.js).

WidgetManual - WidgetDemo - WidgetSupport - WidgetTodolist - Discussion Group and Support

Powered by Google Project Hosting