From: Joachim L. <lu...@ho...> - 2003-08-05 00:58:12
|
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 |