(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    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

Bootstrap List View Bootstrap Carousel Example  |  Bootstrap Grid Tutorial  |  Bootstrap Glyphicons List  |  Bootstrap Icons Button  |  Bootstrap Form Button  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | Best AI Website Builder | Free AI Website Builder | AI Website Generator | AI website design generator