Monthly Archives: August 2007

Cross Domain XHR with Firefox 2

By now know you know that trying to do an XMLHttpRequest (XHR or AJAX) call to a domain that is different from the domain of the hosted JavaScript in Firefox will throw an exception. Error: uncaught exception: Permission denied to call method XMLHttpRequest.open If you don’t want a history of the past solutions, page down [...]
Posted in JavaScript, Web Browsers | Tagged , | 18 Comments

Enlarging your YUI DataTable in 29 Seconds or Less!

This is an updated version of the Enlarging your YUI DataTable in 30 Seconds or Less! modified for the newly released YUI 2.3.0. This method adds an extra row to the YUI DataTable when a row is selected, below the selected row. This allows the developer to add additional content that might not be applicable [...]
Posted in JavaScript | Tagged , , , | 6 Comments

Namespacing outside of the YAHOO Namespace

YAHOO.namespace(). A lovely little utility function subject that I’ve written about before. If you’ve never heard of YAHOO.namespace or aren’t even familiar with namespacing, I’d read that article first. I’ll be honest, using the YAHOO namespace to store my own code makes my bunghole tighten just a little bit. What if I had written code [...]
Posted in JavaScript | Tagged , , | 7 Comments

ALARMd now supports URLs

When you add an alarm source to ALARMd, the Internet Alarm Clock, it will now default to opening the input URL in a new window, if the URL is determined not to be an MP3, Youtube video, or a LAST.FM user or tag. I added this to use maLArquee as an alarm. For instance you [...]
Posted in Projects | Tagged | Leave a comment

maLArquee, Bringing Back the Marquee

What did you spend your Saturday afternoon on? Did you kick up your feet in your hammock with a nice glass of lemonade in the shade of your favorite tree and read the HTML specification? Me too! Who knew that we’d have so much in common? Since you’re obviously like me, you’ve probably wondered to [...]
Posted in JavaScript, Projects | Tagged , , | 4 Comments

Using Phing to automate JavaScript and CSS Minimization

This article may be too advanced for beginner programmers. Unfortunately, I will not support any code that I do not write (in this case), so if you have troubles installing some of the packages required below, please see the authors of the problem code. Thank you. PHING! Party on Wayne. Party on Garth! If you’ve [...]
Posted in CSS, JavaScript, PHP | Tagged , , | 2 Comments

YUI Code Review: YAHOO.namespace

This is the first in a one+ part series of posts (the + is optional) reviewing the actual code contained in the YUI library. This series is not intended for advanced JavaScripters, so if you’re insulted by reading things you already know, you probably aren’t a very good student. YAHOO.namespace. This is a great little [...]
Posted in JavaScript | Tagged , | 4 Comments