From: Tomlins D. <Dia...@HC...> - 2003-08-05 14:32:01
|
Thanks Joachim, I'll give that a whirl. :) Johu - the menu extension is by 4Level not Helmi, thought I do have an older copy of Helmi's API I haven't used it. Unfortunately, the site only lives on my hard drive at the moment and is an intranet site anyway. No URL to post, sorry. Thanks for the input, we'll see what happens ! Diane R Tomlins -----Original Message----- From: Joachim Lundgren [mailto:lu...@ho...] Sent: Monday, August 04, 2003 7:58 PM To: dyn...@li... Subject: Re: [Dynapi-Help] DynAPI conflict ? - more data At 2003-08-05 00:01, you wrote: >Ok folks. My brain finally kicked in and I have at least isolated the >problem - on onLoad event in the <Body> tag. My new menu system added it >in. If I take it out, DynAPI LoadPanel works just fine - but the menus don't >- obviously. > >Is there a way to get these scripts to live together ? Here's the snippet >that's added to the <body> tag: > >onLoad="initSwipeMenu();" onUnload="macGo()" > > >Any suggestions welcome :) > >Thanks !!! >Diane Use something like this in your script-block: DynAPI.addLoadFunction("initSwipeMenu()"); DynAPI.addUnLoadFunction("macGo()"); Or, you can add it to your DynAPI.onLoad/onUnload functions: DynAPI.onLoad = function() { /* clever(? :-) code here... */ initSwipeMenu(); } DynAPI.onUnload = function() { /* clever(? :-) code here... */ macGo(); } /Lunna ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Dynapi-Help mailing list Dyn...@li... https://lists.sourceforge.net/lists/listinfo/dynapi-help |