Category
JavaScript
jQuery Bootstrap-style Dropdowns
A really awesome framework called Bootstrap was recently released by a couple of guys at Twitter. You probably already heard of it by now. And you probably already fell in love with it. Today I made a plugin that replicates the features of Bootstrap’s dropdown to better suit my needs. Continue »
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 as The MobileESP Project. But for simpler applications, the following snippet can be useful. Continue »
jQuery MiniColors (A Tiny Color Picker)
While developing Surreal CMS, we found the need for a simple jQuery-based color picker. What we wanted was something very simple, preferably something that piggy-backed an input control. While we found an extensive number of color picker plugins available, we failed to find any that were simple and compact enough for our needs (except for Continue »
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. It works especially well with click. Continue »
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. Continue »
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 no need to elaborate on this particular reason. Continue »
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 today. With the introduction of popular libraries such as jQuery, Prototype, MooTools and many, many, Continue »
Enabling TinyMCE’s PHP Spell Checker
Learn how to implement the PHP Spell Checker plugin in TinyMCE. Continue »
Prevent White Noise From Appearing in Images After Fading
A bug in Internet Explorer causes white space to appear in certain images after fading. Continue »
Forcing Paste-as-Plain-Text in TinyMCE
Make the Paste-as-Plain-Text dialog appear instead of pasting messy code into the TinyMCE editor. Continue »

