(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 Buttons Group Bootstrap Input Validation  |  Bootstrap Alert Colors  |  Bootstrap Pagination Responsive  |  Bootstrap Table Template  |  Bootstrap Modal Position  | 
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 | AI Website Builder | AI Website Generator | Website Generator AI | AI web design generator