Lunna,
Thanks very much -- that did the trick!
Thanks!
Tom
--- Joachim Lundgren <[EMAIL PROTECTED]> wrote:
> At 2001-06-22 00:05, you wrote:
> >I am working on a large site that uses a header include file. In it
> the
> ><body> tag is defined, and has an onLoad event handler. This seems
> to
> >cause the DynAPI.onLoad not to fire (or something). If I remove the
> >onLoad handler the dynapi layers work fine.
> >
> >However, I can't remove the '<body onLoad' handler as it has been
> used
> >in many of the pages, and there are other developers who have
> written
> >some of the pages.
> >
> >Is there a way around this?
> >
> >Thanks!
> >Tom
>
> The easiest way would probably be to make the function called by
> "body onload" also call DynAPI.loadHandler.
>
> Example:
>
> <SCRIPT>
> function bodyOnLoad()
> {
> DynAPI.loadHandler();
> ...
> /* or reverse them */
> }
> </SCRIPT>
> <BODY onload="bodyOnLoad()">
> ...
> </BODY>
>
>
> or change the "body onload" directly:
>
> <BODY onload="DynAPI.loadHandler();...">
> ...
> </BODY>
>
> In your setup the last one is probably what you want (I don't know
> what code the "other developers" you mentioned have influence on).
>
> /Lunna
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help