(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 Checkbox Label Bootstrap Columns Mobile  |  Bootstrap Image Gallery  |  Bootstrap Form Button  |  Bootstrap Accordion Table  |  Bootstrap Grid Tutorial  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. de | free icons | bootstrap navbar template | free website generator | easyhtml5video.com