Collections:
Other Resources:
Generating Popup Windows as Modal Dialog Boxes
How to generate popup windows as modal dialog boxes?
✍: FYIcenter.com
If you want to generate a popup window as a modal dialog box, you can use the window.showModalDialog() method. See the following JavaScript code outline:
<a href="javascript:pShowModalDialog();">Click your ...
...
<script language="JavaScript">
/*
* Popup Blocker Test - P_SHOWMODALDIALOG
* - Popup Windows in Forms of Modal Dialog Boxes
*
* A popup window shows up in the form of a modal dialog
* box. JavaScript codes implemented to call the
* showModalDialog method.
*
* Version of 2007.01.01
* Download at http://sqa.fyicenter.com/tools/
* Copyright (C) 2007 FYIcenter.com. All rights reserved.
*/
function pShowModalDialog() {
fyicenterVal = window.showModalDialog('popup_blocker_t...
'dialogLeft:100px; dialogTop:100px; dialogWidth:480...
}
</script>
You can also visit Popup Blocker Test - P_SHOWMODALDIALOG page to get the complete source code and to see how it works.
2007-01-17, ≈10🔥, 0💬
Popular Posts:
How to verify IIS configuration for PHP scripts? If you have followed our Configuring IIS for PHP Sc...
What is the scheduled task "\Microsoft\Windows\NetC fg\BindingWorkItemQueueH andler"on my Windows 8 c...
What are Exploit-ObscuredHtml Trojan Web Pages? If you have McAfee VirusScan installed, sometimes yo...
What is the scheduled task "\Microsoft\Windows\WDI\ ResolutionHost"on my Windows 7 computer? "\Micro...
Why I am getting the "Why did my PC restart?" message? After taking the quick setup information, you...