Forum Moderators: open
onLoad="javascript:breakFrame();opensweepswindow();"
I learned js from an o'reilly book called "Dynamic HTML" and pretty much just from doing it.
<added>sorry, I just reread that, you can't have 2 seperate events but you can call multiple functions in the onLoad event.
The one above is even written conditionally through php. ;)
[directory.google.com...]
For books, an author name that pops up is Danny Goodman, he's written a few. There's also the "JavaScript: The Definitive Guide" featuring a rhino on the cover, by David Flanagan.
/claus
LOL, that could very well be. The last time I tested it my markup wasn't exactly up to par (I don't even think I knew about the validator service then). But even so, the stop button still went gray, so I'm not sure that was it.
I might have also been thinking of strapping the handler in the JS itself, like
document.body.onload = loaded();, which doesn't seem work in IE at all. But in any case, I was mistaken about the onload attribute of the body tag, I just tested it a number of times and it has worked every time. :)
Jordan