[Proto-Scripty] Re: Event.observe doesn't work on window scroll event

2008-11-18 Thread Joe Moore
Well don't I feel foolish! That solved my problem. I guess I needed more coffee! Thanks, Joe On Mon, Nov 17, 2008 at 9:37 PM, kangax <[EMAIL PROTECTED]> wrote: > > On Nov 17, 12:16 pm, Joe Moore <[EMAIL PROTECTED]> wrote: > > I'm trying to use the bind

[Proto-Scripty] Event.observe doesn't work on window scroll event

2008-11-17 Thread Joe Moore
I'm trying to use the bind to the windows.onscroll event with Event.observe, but it doesn't work. No error is reported. Here is a small bit of JavaScript I am using: function initPage() { Event.observe("window", "scroll", function() { alert("Hello World"); }); } document.observe('dom:loaded',