SVG Widgets GUI library
Click here to view examples using the
SVG Widgets library.
The following changes have been made to the SVG Widgets library licensed under
the GNU Lesser
General Public License (LGPL):
-
The library assumes you have a global JavaScript variable called SVGDoc that
points to your SVG’s document element.
-
All calls to getAttribute and setAttribute have been changed to use the
namespace aware methods getAttributeNS and setAttributeNS.
-
Removed the minimize and maximize functionality from windows. This
functionality did not work as expected.
-
Added a generic SVG object that allows placing an SVG fragment into a window.
-
Fixed a bug in removing widgets from a window.
-
Added a default property to buttons so a user can press the enter key to click
the default button in a window.
-
Added additional value fields to combo boxes and list boxes for greater
flexibility.
Click here and
here to download the library.
The SVG Widgets library has been tested using the Adobe SVG Viewer 3.x on the
following browsers:
-
Internet Explorer 6.x (Windows)
-
Internet Explorer (Mac OS)
-
Safari (Mac OS)
-
Mozilla/Firefox (Red Hat Linux 9.x and Windows)
Please send us your modifications to this library and we will incorporate your
work in the public distribution for the benefit of the SVG community.
|