Jun3

Belated note: in case you missed my Refresh Austin talk about Prototype/Scriptaculous, you can experience the slides without having to listen to my stammering commentary.

6 Responses to “Thought: “Prototype/Scriptaculous Crash Course” Slides”

  1. 1 kourge Says:

    Bear with my picky comment, but on slide 37 you could have just did:

    nodes.invoke('hide');

    instead of:

    nodes.each( function(node) { node.hide(); });

  2. 2 Andrew Says:

    I use invoke in later slides — on that slide I was just trying to introduce the concept of each.

  3. 3 kourge Says:

    That’s why I had to admit my comment was picky ;)

  4. 4 jdalton Says:

    On slide 30, shouldn’t you use blindAsEventListener(); because you are expecting the ‘event’ argument to be passed into your observer?

  5. 5 Andrew Says:

    @jdalton: That’s only necessary if you assign a handler directly to a property (like someLink.onclick). IE passes the event argument properly when its proprietary attachEvent method is used (and that’s what Event.observe calls in IE).

  6. 6 Jdalton Says:

    Ohhh Nice! I wasn’t aware of that. Rock!


This is

The weblog of Andrew Dupont, web interface developer and writer.

Categories

Feeds

Feed Atom  Feed RSS

I wrote

Practical Prototype & script.aculo.us