Words About Stuff

July 7, 2012

If you're collecting simple data from users in Drupal, like from a contact form, chances are you're using the Webform module. The Webform module is a great way to collect this information, but it doesn't generate the prettiest forms.

Furthermore, support for HTML5 form features, like the placeholder attribute, are currently lacking. To solve this problem, I decided to call on jQuery, which you're probably already using and comes bundled with Drupal.

The Objective

What we ultimately want to accomplish is placing the field label in the field as the placeholder attribute text. We will then remove the label from view for the sake of reducing redundancy.

Finally, we'll implement a check to see whether the browser supports the placeholder attribute and only run the function if it does. While our code will easily be changed to suit each project, we'll look at turning all of this code into a jQuery plugin in a future lesson.

See the Demo

July 4, 2012

Of course, the Fourth of July marks the United States's declaration of independence. It is a time to celebrate our country and all of the wonderful people that have served it well over the years.

A heartfelt "thank you" deserves to be given to those who serve in the armed forces, because without those dedicated people, this country would not be the great country that it is.

Happy Independence Day to everyone and God Bless America!

July 3, 2012

In this world it's often said that "it's not about what you know, but who you know."

That's why, as he celebrates his 28th birthday, I wanted to take a quick moment to celebrate the front-end developer for FliteHaus TJ Rogers. Not only has he been my best friend for the last decade, but he's also been the best man at my wedding and colleague on a number of occasions, including our current jobs at FliteHaus Creative Agency.

July 2, 2012

Quick on the heals of Adobe announcing that it would no longer support the Flash Player plugin for Android 4.1 and later, the Flash-focused branch of the popular TutsPlus.com network, ActiveTuts+, will be shutting its doors.

With Adobe announcing that it is scaling support back on Flash to help build a more flexible HTML5 web, it only makes sense that site like this, which focus on Flash development alone, would either evolve or dissipate. Because the TutsPlus network already has multiple other sites with HTML5 related offerings, it seems an obvious choice to simply close shop.

June 29, 2012

With the release of Google's browser, Chrome, for iOS yesterday, Google now claims that Chrome is the world's #1 browser. To go along with this momentous occasion, Google released a "history of chrome" ad to celebrate.

June 29, 2012

Great web design is often fueled by great photography. As a strictly amateur photographer, I do like to shoot a lot of photos with my Nikon D3100.

It recently stormed here in Orlando, FL, for a week straight and I managed to get a great shot of one of the locusts that made the bushes in front of our house their home for the storm.

June 7, 2012

When I was trying to decide how I would lay out my "Recent Work" section for this site, I was intrigued by a style called masonry. The masonry-style layout has been around for quite some time, but was made popular by the social pinning site, Pinterest.

With varying sizes of website home pages and other design pieces, I decided to go with the same "building block" approach, using a jQuery plugin called Isotope. See how I got the Isotope plugin to play nicely with Drupal's Views module to lay out dynamically generated content in a masonry style design!

June 6, 2012

Larry the Bird (Twitter's icon and mascot) got a third redesign today. Though it's a small departure from its predecessor, you can most notably see the lack of feathers on top of his head. Along with this change, Twitter has updated it's logo usage guidelines.


Drupal Paradise Ad