|
My body onload function is blocked with the new version of javascript collapse menu.
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 javascript collapse menu. In our
application we use a body onload function. It doesn't
get called if I use the javascript collapse menu. If I remove javascript collapse menu 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>
javascript collapse menu 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
|