TextboxList 0.4 for jQuery is here!

Big update for my dear jQuery users. I’m rolling out TextboxList for jQuery 0.4 with these updates:

  • [FEATURE] Autocompletion with on-demand server querying
  • [ENHANCEMENT] All classes moved to $. to avoid global namespace pollution. Please make sure to prepend $. to TextboxList if you are upgrading from an older version:

       new $.TextboxList('#element');
  • [FEATURE] Easier jQuery-friendly initialization like this:

       $('#element').textboxlist({options});

    However, if you still need to access the TextboxList instance to call additional methods (like add), you’ll have to continue to use new $.TextboxList

  • [BUGFIX] GrowingInput now works in noConflict mode

  • [BUGFIX] Fix for GrowingInput to handle special characters and correctly calculate the input length.
  • [BUGFIX] Fix for support of multiple addKeys
  • [BUGFIX] Fix for focus problem when TextboxList gains focus through focusing an editable input
  • [BUGFIX] Autocomplete search term is now trimmed (thanks Mike Feng)
  • [BUGFIX] Fix for when the max option is used
  • [BUGFIX] Fix for unique = true and autocomplete.

As usual, head to the project page for download.

This post has 47 responses

Posted in Client side 10 months ago

TextboxList 0.4: On-Demand suggestions

TextboxList 0.4 is out, with new features:

  • check option, which can allow you to specify a function to filter out new boxes that do not meet a requirement
  • encode now receives the complete values, not only the id or string of the bit. This gives you full control of what you want to send to the server.
  • Autocomplete now works with on-demand suggestions. As easy as this:

    new TextboxList('form_tags_input_4', {unique: true, plugins: {autocomplete: {
    	minLength: 3,
    	queryRemote: true,
    	remote: {url: 'autocomplete2.php'}
    }}});

And some bugfixes:

  • Fixed missing index when unique: false and autocomplete were used, which resulted in an error
  • Fixed problems with items with id 0, which incorrectly evaluated as false.

Head to the demo to see the new autocomplete in action, and as usual, report any bugs you might encounter.
Update: 0.5 is out already, which fixes a bug with the traditional use of Autocomplete. Sorry for the trouble!

This post has 44 responses

Posted in Client side about 1 year ago

BarackSlideshow 0.3

Due to popular request, I’ve made some changes to BarackSlideshow:

  • New project page with documentation and how to use explanation
  • It includes the upcoming, updated and optimized Fx.MorphList
  • The download package has been fixed for a very easy deployment.

This post has 26 responses

Posted in Projects about 1 year ago

PHP URL Shortening Class released

I’ve just released PHPShortener, a PHP class that makes it very easy to encode/decode URLs with services such as tr.im, is.gd, and others.

Encoding and decoding is a simple as this:

$s = new PHPShortener();
// encode a long url
$shorturl = $s->encode('http://devthought.com/projects/php/phpshortener/', 'is.gd');
// decode a short url (autodetects the service)
$longurl = $s->decode('http://tr.im/jBBp');

Head to the project page for downloads and documentation. Fork me on GitHub if you want to contribute!

This post has 11 responses

Posted in Server side about 1 year ago

TextboxList 0.3 and jQuery version out!

Moo TextboxList 0.3 changes:

  • HTML for bits not showing properly fixed
  • highlightSelector not working (due to a typo) fixed
  • GrowingInput missing pad function added (only affected if you customized growing.mini option)
  • Improved clicking the whole widget behavior
  • Other tiny enhancements / cleanup

Secondly, in the best interest of the JavaScript community, I’ve ported TextboxList to jQuery. The API changes slightly due to the different OOP approach, but all the functionality is intact. Head to jQuery TextboxList project page for more.

Update: 0.2 is out for jQuery. Bugs in autocompleter and IE have been addressed.

This post has 46 responses

Posted in Client side about 1 year ago

WP-o-Matic release date

Everyone follow @wpomatic on Twitter to learn the release date before everyone else!

This post has 6 responses

Posted in Projects about 1 year ago

The new TextboxList is here

It’s been some time since TextboxList got some attention. It is undoubtedly one of my most popular JavaScript projects, along with the famous Fancy Menu (MorphList) and its slideshow sibling, BarackSlideshow.

TextboxList (demo) has been rewritten from scratch, and it’s more solid than ever. The first time around, elegance was not one of the goals. I focused on releasing the first open source script that reproduced the Facebook’s tokenizer.

Continue reading

This post has 63 responses

Posted in Projects about 1 year ago

Count your feed readers with style

I’ve just released a new Wordpress plugin: FeedBurnerCount. It gets the job of retrieving feed readers from the FeedBurner API done efficiently.

Lately it seems the API is up and down all the time, many times providing invalid data, and recently moved to a new URI. The one plugin that solves this same task hasn’t been updated in months, and it’s not ready for an inconsistent API, which results in a N/A count all the time.

FeedBurnerCount can maintain your feed count even if the Awareness API is not working (or you can specify a custom message for those situations), and calculate the average readers count in a period of time. It also sniffs your feedburner details (if the FeedBurner plugin installed) for an impossibly easier setup.

Head to the the plugin page for more details.

This post has 13 responses

Posted in Projects about 1 year ago

The APNG Class

If you’re looking for an object-oriented, straightforward way to animate those alpha transparent PNGs, look no further.

Check out Devthought’s latest release, APNG 0.1

This post has 7 responses

Posted in Client side about 1 year ago

More please.

mootools

You wanted more, we give you More. Today the new MooTools More RC1 is being released, with an outstanding number of new plugins. More functionality, but with the quality you come to expect from the MooTools framework.

Most of the new components come from the excellent Aaron’s Clientcide library. I contributed to the improvement, refining and testing of some of his vast code, which brings More to its present state.

The goal here is to provide more great, simple and extensible tools to make developers’ lives easier. I suggest you head to the Docs or Builder page right away to start trying out the new stuff. As always, head to Lighthouse to report the bugs you encounter, or even to suggest new additions or features.

This post has 1 response

Posted in Client side about 1 year ago