CNET Update (svn 181), lots of goodies
New date picker, Date extentions, Auto-ajax indicator, and Input text hovers
So I just finished pushing out and testing my latest batch of additions to the CNET Libraries and you can download them in our svn. Here’s a brief roundup with links to demos and stuff:
- DatePicker got a lot of love including the ability to output a custom format for the date and the ability to choose ranges and enter times
- Extended the Native Date object to add lots and lots of neat-o methods including date comparison, fancy parsing, and about 2 dozen other useful features and methods
- OverText - a new Class that hovers text over inputs until the user clicks into them and changes them
- Waiter - an ajax indicator class that automatically greys out a dom element with a spinner image (you can customize these things) while your Ajax is requesting new HTML for it. Can be used stand alone (i.e. if you need to show a waiting indicator even if it’s not Ajax you’re using), but it’s integrated nicely into Ajax if you are using it.
- Our default DHTML popup html (stickyWinHTML) got an option to add a drag handle to the window
The Waiter class is probably my favorite, but all the Date love is really nice, too. Check it out and play around with it.
hello Aaron, great work on the 181 build. I’m trying to run it with mootools 1.2 beta2 (with backward compat.) but I’m having few issues. any ideas for 1.2 compatibility. Here is a link to the post I submitted on the moo forums. http://forum.mootools.net/viewtopic.php?id=8133
Hi guys, wanted to say I love your work on MooTools stuff and your no-nonsense blog posts. Very helpful!
I thought I’d give a (very) little bit back.
I came across a bug in your implementation of Digitarald’s Autocompleter.js base class. Specifically, you have a misspelled property on line 327: “this.options.mult” — which means that the query text is never highlighted on additional searches when forms are multi-value enabled. Just a cosmetic issue, but what the heck.
I have created a patch file for the issue if you’re interested: http://www.isolationism.com/patches/Autocompleter.js.patch
Awesome. Thanks for passing this along. I’ve updated the code in SVN.
@Chaffe, I’ve got our work in a branch in our svn here:
http://cnetjavascript.googlecode.com/svn/branches/1-2/
I’m working on it right now and am about 90% complete with the refactor. I have not tested a single line so far, so it’s not ready for actual release yet. I hope to have a release candidate in the next week or two.