I just updated http://www.whathuhstudios.com/press/2008/01/04/ajax-contact-form-quick-install/ to version 1.6, updated JQuery to 1.4, fixed some validation bugs, etc. It’s still simple and small. Go grab it. You’ll be glad. Maybe.

Tags: , , , , , , ,

I just updated http://www.whathuhstudios.com/press/2008/01/04/ajax-contact-form-quick-install/ to version 1.5, reworked with JQuery, and trimmed the size down to about 33% of what it used to be. Check it out for a quick and easy way to add some Ajax Class© to your website!

Tags: , , , , , , ,

Simply put: Flash will not replace well-designed web sites based on html/css. To elaborate:

Saw this gentleman’s article on Technorati, and the title caught my attention.

Adobe recently announced that Flash and related files are going to be open source. This means that pretty much anyone can write and develop a program to author flash files. So what? This changes nothing.

My honest opinion is that the argument of Flash taking over the standard web page is moot. There are practical, well executed uses of flash, and there are practical, well executed uses of any of the other technologies mentioned. However, it seems that there are at least as many poor uses of each.

Flash has it’s place: Interactive, colorful, design-rich web applications, games, demontrations, advertisements, web intros, and so on. The key is that flash files use up bandwidth and computing power, and if used when not needed, can actually harm the user experience and usability. Flash files are also not indexed in search engines, which means that in order to have the page relevant on the web, the designer/developer must include additional content indicating what is contained in the flash movie/video. If the entire site is in flash… then no search results.

AJAX has simliar problems, and should be used when appropriate. The large-content AJAX staple “iframe” won’t be indexed, and users without javascript enabled (many office computers, terminals especially) cannot use the AJAX content at all. This means that developers must write code twice: Once for the general population, and again for those that can’t use the technology. Either that, or they stand to lose 1 out of 10 potential users of their software.

I hate flash. I hate how easy it is to make a really ugly navigation menu in flash. I hate how easy it is for anyone who … Let me interrupt myself here. I hate that because I have a web page open in the background that has a flash movie running, my browser just shut down, and I lost two sentences that I wrote because of it. I hate that 90% of flash applications could have been done better, faster, and cleaner using web standards, and without alienating those with slow computers, or those who can’t install flash at their office.

But just remember: I love a great looking flash-based website. Just a random search on google found me this site: http://www.singularitydesign.com/ . Very well done. The flash file is only 202K, which is much smaller than even the Yahoo! homepage. The content is clean, and flash is used to show off how flashy this particular web design company can make your site look.

Simply put: Flash will not replace well-designed web sites based on html/css.

Tags: , , ,

UPDATED 2/23/2010

Here I am, over a year later, shaking my head at my bulky code. Here is the updated, much more lightweight, drop-in AJAX contact form. It now uses JQuery, the JQuery Forms Plugin, and the JQuery Validation Plugin instead of Scriptaculous and WForms. The page loads much faster than before, and the source is about 1/3rd of the size.

Installation instructions: Unzip to your directory, modify the two variables in “config.php” to your liking, and you should be up and running right away! Feel free to use and modify however you like. Just add the class = “required” tag to any fields that you want to make sure are filled out before submitting the form. More advanced validation options can be found at http://docs.jquery.com/Plugins/Validation. If you happen to throw me a comment here showing it in action, I’d be happy to link to your site in this post!

Download (ver 1.6): whs_ajax_contact_form_1.6.zip (39.7KB)
Download (ver 1.5): whs_ajax_contact_form_1.5.zip (34.4KB)
CHANGELOG:
1.6: Updated to JQuery 1.4
Fixed several issues with validation and submission
1.5: Reworked with JQuery
1.01: Fixed a php tag.

View the form in action at http://www.whathuhstudios.com/contact.php.

History (depreciated):

Download (ver 1.01): whs_ajax_contact_form_1.01.zip (93.2KB)

More information for developers:

I did some searching online for a quick and easy AJAX contact form… There isn’t one. The free ones are two years old and don’t work, and the other ones I saw cost money. So I fixed the problem.

This is a pretty basic form that uses Scriptalicious Scriptaculous(already included), and WForms (also already included). Scriptalicious is in there for some of the fancy dynamic effects. They aren’t over the top in any way, but just a little bit to class it up. The WForms has a validation routine that makes sure required fields are filled out. I left it in there so that you can ad fields to your liking. Just add the class = “required” tag to any fields that you want to make sure are filled out before submitting the form.

Credit for (version 1.01) codebase: http://www.jeffpipas.com/

Tags: , , , ,