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