08.11.07

Posted in JavaScript at 1:38 am by jasonb

Usually I love mootools, really. Usually. I found CSS Guy’s form field hints posting inspiring, so I modified it to work with mootools. The result is something simple and easy.

Read the rest of “mootools and form field hints” »

07.16.07

Posted in JavaScript at 11:13 pm by jasonb

Mootools v1.11 as shipped has a few bugs I came across. I was assured there couldn’t be any, as it’s been out for a while.

Read the rest of “mootools v1.11, ajax evalScripts and Tips bugs” »

12.16.06

Posted in JavaScript at 1:22 am by jasonb

By its very nature, it seems the development of Internet Explorer would be aptly named: Operation Aborted. However, of what I speak is the message, Internet Explorer cannot open the Internet site. Operation Aborted. There are a variety of circumstances that are believed to be the cause, but in the instance of using mootool’s tips class, the issue is one of the DOM not necessarily being ready.

Read the rest of “Mootools, Tips, and IE Operation Aborted” »

10.27.06

Posted in JavaScript at 11:48 pm by jasonb

I have found jscalendar to be an effective, if bloated, solution for integrating a DHTML calendar into an existing form input field requiring a user to enter a date and optionally a time. However, for it transparently effective, it needs to appear when a user brings focus to the form field and disappear when focus is lost. While you can configure jscalendar to respond to an onFocus event for the inputField and to close on single click outside its window, you cannot presently prevent an onFocus event from creating multiple instances of the same calendar as you provide and remove focus from your input field. Fortunately, I have resolved that today.

Read the rest of “jscalendar onFocus and onBlur with Prototype” »

09.27.06

Posted in JavaScript at 11:22 pm by jasonb

Hate Flash? You’re not alone. I just finished ripping out Flash support from LightboxEx, so it is no longer required. You will not need to load swfobject.js or Sound.js. The script is smaller with the applied patch, but still includes all the other nice features, like proper resizing for large images and slideshows.

Read the rest of “LighboxEx without swfobject and Flash” »