(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    My body onload function is blocked with the new version of menu popup.

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 menu popup.
In our application we use a body onload function.
It doesn't get called if I use the menu popup. If I remove menu popup 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>

menu popup 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

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. website builder review | web design software | static website generator | top website builder | css menu maker