|
|
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:
- Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Sep 30, 2006 - How can I open the link in a new window with your DHTML MENU?
- Oct 21, 2006 - I want to get the URL or file name to be open in javascript mouseover menu by click...
- Nov 05, 2006 - With the new version of javascript rollover menus, my body onload function is blocked.
- Nov 17, 2006 - How can I open a new window of a specific dimension in the dhtml toolbar?
- Nov 21, 2006 - Why the javascript submenu alignment changes depending on the browser window size?
- Nov 28, 2006 - I downloaded the trial version, but where to find the scroll menu javascript?
- Nov 28, 2006 - Do I need any additional loaded software using the javascript select menu?
- Dec 10, 2006 - On IE for Windows, the javascript floating window disappear as I roll over them
- Dec 14, 2006 - How to use a dhtml javascript menu item so that it opens a window at a certain size?
- Jan 03, 2007 - In the horizontal drop down menu my html files still open in a new window.
|