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

    My body onload function is blocked with the new version of web navigation buttons.

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

web navigation buttons 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

   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap gallery | web editor | jQuery Form | mp4 to webm | free bootstrap templates