Hi,

I am trying to use prototype.js to observe when a page has loaded and
then call a handler function to initialize a javascript dropdown menu.
I've done it without prototype but I would rather use prototype and
remove some of my code. I tried this

Event.observe(window, "load", sM.init());

It doesn't work.

What to try next?

Thanks,
Peter
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to