My body onload function is blocked with the new version of dhtml menu over.
Return to Recent Questions
Q:
Is there a way I can use Dhtml menu and get my onload handler called?
My body onload function is blocked with the new version of dhtml menu over. In our
application we use a body onload function. It doesn't
get called if I use the dhtml menu over. If I remove dhtml menu over js files
from html, it works fine.
A:
Try to delete onload event from <body> and write the following at the
end of a page (after you call dm_init() function):
<script type="text/javascript">
onload = onloadHandler;
</script>
dhtml menu over detects any user's onload events and remember them in the
case when you write a such events before dm_init(); call.
That should work.
Return to Recent Questions
|