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


 

    How can we prevent the pre-loading of window open javascript so that the pop-ups only load onclick?

Return to Recent Questions


Q: The window open javascript are loading as the page loads, as well as when you click the appropriate object. How can we prevent the pre-loading of pop-ups so that they only load onclick?

A: In that case you shouldn't set openAfter and closeAfter parameters.

So, you'll have:

deluxePopupWindow.attachToEvent(win,',,,,,')
or
deluxePopupWindow.attachToEvent(win,'openAfter=,closeAfter=,,,,')

See the following example:

http://deluxepopupwindow.com/html-popup-dialog-vista-graphite.html






Return to Recent Questions

Related:
Bootstrap Checkbox Label Bootstrap Accordion Table  |  Bootstrap Form Button  |  Bootstrap Image Gallery  |  Bootstrap Grid Tutorial  |  Bootstrap Glyphicons List  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. fr | free icons | top free website builder | bootstrap button styles | bootstrap image slider