Posts Tagged ‘javascript’

June 4, 2010 0

IE6, MooTools, and MultiBox: A Tale of Woe

By jasonkarns in javascript, mootools

On a recent project, I traveled to the depths of hell and came out alive. Here’s how it went down…
The initial task wasn’t all that unique or difficult. We were to add a few videos (most hosted on YouTube, with a couple self-hosted) that would open in a lightbox-style popup when the thumbnails were clicked. [...]

Tags: , , , ,

March 10, 2010 1

Google Analytics Tagging with HTML5 data-* Attributes

By jasonkarns in javascript, jquery, mootools

Imagine if you will, a page with a significant amount of dynamic page elements. For instance, a slide-out panel containing a number of ‘panes’ containing topical information on various ‘factors’. Let’s assume that once this slide-out is open, we wish the user to be able to jump from factor to factor (similar to a slideshow) [...]

Tags: , , , ,

February 25, 2010 4

JavaScript Best Practices

By jasonkarns in javascript

@ikeif recently tweeted a request for some JavaScript best practices. Rather than simply reply to him, I thought I’d post them here and beat him to the blog-post-punch. I’m not going to expand much on any of these, although any discussion that arises will likely spawn its own post. These are in no particular order [...]

Tags:

February 11, 2009 0

jQuery.Firebug: A call for feedback.

By jasonkarns in firebug, javascript, jquery

As a result of some of the discussion following from my post on my new jQuery plugin, jQuery.Firebug I’m soliciting feedback for its desired behavior. Example:

$(‘.setA’).log();
$(‘.setB’).log(“some”, “information”);
$(‘.setC’).log(“title attribute is: “, “.attr(‘title’)”);

Some explanation. The log method follows the same rules as the Firebug console.log method. It can take 0 or more arguments that are concatenated into [...]

Tags: , , ,

January 6, 2009 16

Announcing jQuery.Firebug

By jasonkarns in firebug, javascript, jquery

I have been sitting on my latest jQuery plugin for some time now. Although I realize that the code is not yet of production quality and there are certainly bugs and features that remain to be addressed, I’ve decided that I should at least release this plugin to the wild. At the very [...]

Tags: , , ,