Category Archives: JavaScript

Detecting Mobile Devices with JavaScript

While I understand and value the concept of feature detection over browser detection, sometimes the need for knowing whether or not we’re dealing with a mobile device arises.  For in-depth device checking, you can rely on a complex library such … Continue reading

Posted in JavaScript | 2 Comments

jQuery SelectBox Plugin

While it is possible to use CSS to style SELECT elements, browser support and appearance will vary greatly depending on platform and browser.  In our search for a solid, customizable replacement for these finicky controls, we turned up only a … Continue reading

Posted in JavaScript, jQuery | 50 Comments

Use HTML5 and CSS3 Today with 52Framework

There’s a lot of talk about HTML5 and CSS3 these days, especially since Safari/Chrome, Firefox, and Opera have begun supporting some of the most anticipated features of both specifications.  If you’ve ever used border-radius or box-shadow then you’ve already touched … Continue reading

Posted in Browsers, CSS, HTML/XHTML, JavaScript, Web Standards | 1 Comment

Smoothly Scroll to an Element Without a jQuery Plugin

After spending some time looking for a plugin to do this, I was amazed to see how easy it was to get a smooth scrolling effect using one line of jQuery.  You can use this inside of any callback function.  … Continue reading

Posted in JavaScript, jQuery | Leave a comment

jQuery Word-wrap Plugin

The Problem When it comes to textareas, the concept of word-wrapping is not as easy as it should be. In most browsers, including Firefox, Safari, Chrome, and Opera, you can set the textarea’s wrap attribute to on or off to … Continue reading

Posted in JavaScript, jQuery | Leave a comment

Developing Awesome Games in JavaScript

Back in November, I wrote about an incredible NES emulator written entirely in JavaScript.  Today I would like to introduce you to Effect Games, a company that provides free, online tools that enable you to build JavaScript-based games.

Posted in JavaScript | Leave a comment

TinyMCE Removes Non-breaking Spaces

There are two reasons that TinyMCE might be removing non-breaking space entities ( ) from your HTML source code.  The first one is a common mistake people make when populating textareas.  This is covered in the TinyMCE FAQ, so there’s really … Continue reading

Posted in JavaScript | Leave a comment

JSNES: A Nintendo Emulator Built in JavaScript

I remember, not too long ago, arguing with people who said that JavaScript would never be as good as Flash. Granted, at the time many people were afraid of JavaScript and, thus, it wasn’t used as widely as it is … Continue reading

Posted in JavaScript | 1 Comment

jQuery UI Star Rating Widget

A friend of mine needed a good rating script for a project he’s working on. When he linked me to this star rating widget, I didn’t have very high expectations, but after seeing the widget and its implementation I’m actually … Continue reading

Posted in JavaScript, jQuery | Leave a comment

Enabling TinyMCE’s PHP Spell Checker

Learn how to implement the PHP Spell Checker plugin in TinyMCE. Continue reading

Posted in JavaScript, PHP | Leave a comment