From: Raymond I. <xw...@ya...> - 2002-12-03 23:19:57
|
Hi Jesse, Just a few things to note: 1) Make sure the <body> tag does not have the onload="" event attribute. 2) I believe should be as: DynAPI.onLoad = function() { alert("hello"); } Note: "onLoad" and not "onload" PS. Please remember to use "Reply to All" when replying making a reply -- Raymond Irving --- Jesse Vitrone <je...@my...> wrote: > When my page loads, I need to call a method which > creates some layers. > > http://dynapi.sourceforge.net/doccenter/index.php?Body%20onLoad%20Problems > > Does this mean that I'm supposed to put something > like this? > > <script> > DynAPI.onload = function() { > alert("hello"); > } > </script> > > When I add that to my page, nothing happens when the > page loads. > > Any suggestions on what I'm doing wrong? > > Thanks in advance, > Jesse > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Microsoft Visual > Studio.NET > comprehensive development tool, built to increase > your > productivity. Try a free online hosted session at: > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |