Can I put two popup windows in one HTML file?
Return to Recent Questions
Q:
Can I put two popup windows in one HTML file?
One popup for example after 1 second, and disappear after 10
The second one after 15 second and disappear after 30 seconds.
Can you help me?
A:
You should set the following parameters for the first window:
winID:"window1",
openAfter:1,
closeAfter:10,
for the second window:
winID:"window2",
openAfter:15,
closeAfter:30,
See also how should you install popup windows on your page:
<head>
<!-- Deluxe Popup Window -->
<noscript><a href="http://deluxepopupwindow.com">DHTML Window Script by DeluxePopupWindow.com</a></noscript>
<script type="text/javascript">var dmWorkPath="deluxe-popup-window.files/";</script>
<script type="text/javascript" src="deluxe-popup-window.files/dpopupwindow.js"></script>
<!-- (c) 2009, http://deluxepopupwindow.com -->
</head>
<body bgcolor="#FFFFFF">
<script type="text/javascript" src="deluxe-popup-window.js"></script>
<script type="text/javascript" src="deluxe-popup-window2.js"></script>
</body>
Return to Recent Questions
Related:
- Aug 30, 2006 - Can all the java script be contained with in the html and not use an external .js file?
- Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
- Oct 06, 2006 - How can I use right-to-left languages in javascript popupmenu?
- Nov 05, 2006 - The font color doesn't change when I roll over the dhtml side menu
- Nov 22, 2006 - I cannot get the background color of the html popup menu to change
- Nov 25, 2006 - I need only one column of submenu html to be displayed, all other columns should be closed.
- Nov 28, 2006 - Do I need any additional loaded software using the javascript select menu?
- Dec 04, 2006 - With the licensed .js files of menu dhtml the status bar on IE shows "Error on page".
- Dec 11, 2006 - How to add the new items to the dhtml vertical menu without using two data.js files?
- Dec 15, 2006 - I can't seem to have a "contact us" menu item to work in the html navigation menu.
- Dec 31, 2006 - I only want one sub-menu to have multi-columns in html dropdown menu.
|