SimpleEditor localizations, FormValidator and XHTML, CiUI release
Coupla monday morning goodies for you all. They are:
- SimpleEditor now can be localized and there are language files for Spanish, French, Portuguese (and English of course). This is all thanks to Miquel Hudin (who has contributed to the localization effort to many of the other classes available here). Thanks Miquel! If you know a language that isn’t represented in our localization efforts, feel free to send us new files.
- FormValidator uses a custom element property called “validatorProps” to pass in values for validators (like minLength and maxLength). This doesn’t pass XHTML validation and at the prompting of one user I changed this methodology to use css class values instead. See the new docs for FormValidator for examples. The old method still works if you don’t care about validating XHTML.
- CiUI – CNET’s Iphone interface script – just had a new release after several months of dormancy. Author Vlad Olexa writes on the project page:
Release notes
version 0.3
- New feature: page caching. When you annotate your link with classname cache, i.e. <a href="my_page.htm" class="go_forward cache" title="My Page">My Page</a> the page will be cached. Meaning, navigating to that page again will not fire a new Ajax request.
- Bug Fixes:
- The cancel function now functions properly (ciUI.cancel()) when you’re trying to cancel a loading page
- When a new page is requested while the current one is still loading, the current page will stop loading before trying to load the new one. (This was causing unexpected content appear after users navigated away from a page).
- Fixed an issue with the back button where it would sometimes be disabled when trying to get to the very first page in the hierarchy.
- Checkboxes return correct values in Firefox
Follow @clientcide on twitter to get notified of new posts.
To follow me personally on twitter, follow @anutron.