Collections:
Other Resources:
Triggering Popup Windows with Waiting Periods
How to trigger popup windows with waiting periods?
✍: FYIcenter.com
If you want to trigger a popup window with a waiting period, you can use the window.setTimeout() method to delay calling of a predefined function. See the following JavaScript code outline:
<a href="javascript:pWindowSetTimeoutTest();">Click...
...
<script>
/*
* Popup Blocker Test - P_WINDOW_SETTIMEOUT
* - Popup Windows Triggered after Waiting Periods
*
* A single popup window shows up 10 seconds after the
* page is loaded into the browser. JavaScript codes
* implemented with a setTimeout method call.
*
* Version of 2007.01.01
* Download at http://sqa.fyicenter.com/tools/
* Copyright (C) 2007 FYIcenter.com. All rights reserved.
*/
function pWindowSetTimeoutTest() {
fyicenterTimer = window.setTimeout(pWindowSetTimeout,1...
}
function pWindowSetTimeout() {
fyicenterWin = window.open('popup_blocker_test_popup_h...
'', 'toolbar=no,scrollbars=no,resizeable=no,width=4...
}
</script>
You can also visit Popup Blocker Test - P_WINDOW_SETTIMEOUT page to get the complete source code and to see how it works.
2007-01-17, ∼9084🔥, 0💬
Popular Posts:
What is "Wired AutoConfig" in my Windows XP service list? And how is "Wired AutoConfig" service rela...
How to select your wireless connection during the Windows 7 system initial set up process? If you bo...
What is GoogleUpdaterService.exe - Google Updater Service? GoogleUpdaterService.exe is binary file o...
How to uninstall OpenOffice.org 2.2? If you want to uninstall OpenOffice.org 2.2, you should follow ...
How to remove RealPlay.exe from the startup application list to gain performance and reduce security...