Simple Show/Hide with JS & CSS

I am frequently asked by front end developers what the best technique is for showing and hiding a div within a web page.  While this can be accomplished many ways, I will outline the technique that I use most often.  It involves adding and removing a class from the DOM node you are looking to show or hide.  The code shown can be used as a starting point, and can be enhanced once you understand the basics.

Continue reading

iPad Market Share & the Media

Recently IDC released their figures on “Worldwide Tablet Shipments”. Shortly thereafter, several “news organizations” and enthusiast web sites wrote about the published figures, using eye catching headlines, such as:

Continue reading

Samsung Presentations Suck

I admit that although my first Apple product was purchased just over four years ago, I may now be termed an “Apple Fanboy”.  Call me crazy, but I just like things to work, and Apple’s products give me that in spades.  I am not delusional enough to think that their offerings are perfect (I am still waiting for good iTunes account management, seamless cloud services, etc), but by and large, they give me what I need.

Continue reading

On Rendering Engine Consolidation…

Today, Opera made a surprising (to many) announcement that they are replacing their rendering engine with WebKit and their JavaScript engine with V8.

The response to this news by developers has been largely mixed, although those opposed seem to be much more vocal about it on G+ and Twitter.  Perhaps that’s just my impression.

Continue reading

The 5 Types of Front-End Developers

I haven’t written anything in a while, so here is a silly post to fill in the time gaps.  See if any of these descriptions apply to you or the people you work with, my fellow front-end developer:

Point and Clickers

Point and Clickers are like automobile drivers who don’t have the time, or perhaps the inclination, to change oil or even look under the hood for anything but adding washer fluid.  As such, these developers rarely work with HTML, JavaScript, or CSS.  Instead, they typically rely on code generating tools, such as Dreamweaver to do the dirty work for them.

Continue reading