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

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

right click pop up 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

   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. creazione siti gratis | static website generator | jquery slideshow | css menu | css menu maker