Now that the official iPhone app has been submitted for approval, I’m working to upgrade the mobile html version of ChapterBoard. After reviewing a few mobile html development frameworks I’ve decided to use the jQuery Mobile framework. I’ll be sure to follow up with some thoughts as I continue building it out.
My first project for my new job at Bonanzle was to clean up the account registration page. After removing text, a few fields, and reordering the inputs we ended up with the form you see above. I’m really happy with the results as it cuts down on unnecessary verbiage and allows the user to fill in the form and be done with it.
jQuery inline validations plugin: This jQuery plugin was a breeze to use and it even let me easily setup my own validations and error messages using custom regular expressions.
Use JQuery to open external links in a new window
I spent some time searching the web for a solution and found a lot of out dated ones or ones that just weren’t what I wanted. Here is an easy to implement snippet for anyone interested:
$("a[href^=http]").each(function(){
if(this.href.indexOf(location.hostname) == -1) {
$(this).attr('target', '_blank');
}
});
This is an updated version of the code found here: http://www.drupalcoder.com/story/80-automatically-open-all-external-links-in-a-new-window-using-jquery. Notice the @ symbol which is now no longer supported in Jquery 1.3.x.
