Javascript Ramblings - 2007-02-28

Thursday, March 1, 2007

# The new version of Fastinit breaks free of Prototype!

# A new version of Cross-Fade Anything !

# My Really Easy Field Validation libray keeps getting rediscovered by various sites and has received a digging a few times. The problem is a lot of sites link to it under the topic of Ajax scripts, which of course is inaccurate. It is amusing though to watch the Digg drones go on and on about the same things every time it get's mentioned there:

  1. It has nothing to do with Ajax
  2. Validating a form with only Javascript is no real validation and potentially dangerous

These two facts are repeated ad nauseum by commenters attempting to sound knowledgable. If this is the only thing you have to say about Really Easy Field Validation, please, just pause a moment and consider that the only real response to either is "Well, Derrrr..."

2 Comments

#1
On the March 15, 2007, Ken Snyder wrote:

FastInit is brilliant. Just wanted to share this addition of mine. I changed addOnLoad to check if the body is already loaded. It is excellent for situations where a widget is "lazy" loaded onmouseover when the document is large enough that the onmouseover sometimes fires before load.

Happy coding.

...
addOnLoad : function() {
var a = arguments;
for (var x = 0, al = a.length; x < al; x++) {
if (typeof a[x] === 'function') {
if (FastInit.done ) {
  a[x]();
} else {
  FastInit.f.push(a[x]);
  }
  }
 }
},
...

#2
On the March 15, 2007, Andrew Tetlaw wrote:

Hey good one. I like it.

Random outings from a chaotic mind

The Dexagogo Rocket Australian Web Industry Association logo

Delicious

Twitter