Hi, > Am I > overloading something within prototype & script.aculo.us by adding > onload=""?
No, that should be fine. As an alternative, though, you could hook the dom:loaded event: document.observe("dom:loaded", initialize); But there's no reason you can't use body's onload. -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Feb 3, 10:54 pm, thecyclegeek <thecycleg...@gmail.com> wrote: > It has been a while since I encountered this problem, so I don't have > a current example to show. I know I was using the latest version of > prototype & script.aculo.us at the time (Fall 2009). > > I was developing a website with prototype & script.aculo.us and I > added an initialize function inside the body element's onload event, > e.g.: <body onload="initialize()">. As soon as I added that, the drag > and drop functionality I added previously through prototype & > script.aculo.us stopped working. I don't recall there being any error > messages in my browser's error console (Firefox 1.6). I changed the > onload event to other functions, but the result was the same. Am I > overloading something within prototype & script.aculo.us by adding > onload=""? -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.