(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:
Mobile Page Layouts Overview Top 53 Killer HTML Templates List  |  Best 50 Inspirational and Beautiful HTML Themes Collection  |  Top 41 Wonderful CSS3 Templates Collection  |  Top 54 Brand New jQuery Themes List  |  Mobile-friendly Web Page Themes Review  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | AI Website Generator | AI Website Builder | AI web design generator | AI website design generator