in

Emerald Hand

Emerald Hand, Inc. community home page.

This Blog

  • Home
  • Contact
  • About
  • Directory of Computers/Tech Blogs

Syndication

News

I'm back to blogging

Worm in liquid maze

Design and development of information management tools.

JSForms 0.3.1

New version of JSForms is released. It's a minor update to 0.3 and focuses mostly on improving the tree control. It also has two important new features.

First the code is compressed on build (library only download), cutting the total library size in more than half. Compression cuts out most of the spaces, CRs (character return)  and all of the comments. Initially I had some problems with compression breaking the library. I forgot (or didn't know better) to add a semicolon (;) after function closing bracket (}). This is all fixed now. JSLint was priceless in finding the source of this problem.

Second new feature is support of a control chunk to disable selection in a control. It works by canceling default action for onselectstart (in IE) or onmousedown (in other browsers). It supports filtering to enable selection in certain elements (input and textarea by default). This is useful because selection sometimes gets in the way, of drag and drop in the tree contorl for example.

The tree has a lot of improvements. It now fires events when modified. Tree style has been improved and the columns now can have names. I also started to work on an example to generate HTML pulling data from a database for the tree using ASP. It's not quite completed yet. It will be in the next version.

Download it now or read more about new changes in the change log.

Also a new version of JSLint was released. I use it constantly to find errors in JSForms and quite a few it has saved me times from long hours of digging through the code. It is an important tool for any JavaScript developer.

Share this post: Email it! | bookmark it! | digg it! | reddit!
Readability Stats: Word Count: 284; Sentence Count: 24; Grade Level: 6.2, more info...
Published Feb 17 2006, 06:07 PM by Ornus
Filed under:

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add

About Ornus

Lead Sider and Xelog developer. I'm interested in information and how we can better manage it using computers. I'm also into design and understanding how to creating cool, useful, simple things.
Copyright © 2006-2007 EmeraldHand, Inc. All rights reserved.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems