(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 Slider Usage Bootstrap Progress bar Jquery  |  Bootstrap Clearfix Style  |  Bootstrap Label Input  |  Bootstrap Header Example  |  Bootstrap Sidebar Dropdown  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Best AI Website Builder | AI Website Generator | AI Website Maker | Website Generator AI | AI web design generator