Sx All external links from the site should open in a new window. Do not want to write this on a link-by-link basis. Should be light and unobtrusive. Using MooTools. Dx We can easily know what domain the script lives on. Other domains are easily distinguished. Links come and go and are loaded in, sometimes, by [...]
Posts Tagged ‘Development’
External Links in New Window. Passive and with MooTools.
Friday, August 28th, 2009Style.Target.com
Design-driven WordPress theme for Target’s most stylish clothing and accessories.
Thursday, May 14th, 2009LegalCurrent.com
Information about, commentary on and current events in the practice of law. Custom WordPress theme for Thomson Reuters.
Mootools 1.2 Horizontal Accordion – the secret revealed
Sometimes the API docs are wrong. Since I couldn’t find out how to do it, I’ll post the secret here. To make the horizontal accordion work in Mootools 1.2 you have to specify a fixed width. The API docs say it is a Boolean, but it ain’t. It is what the plugin uses to determine [...]
JavaScript Namespacing
I figure if you are reading even this far you care / know about namespacing in JavaScript so I’m not going to go into WHY. However, the HOW is here. But, okay, yeah, maybe some specific WHY. We had been using a generic namespacing function that required plugging in the base name three times. Not [...]

