Programming JavaScript - Generating Popup Windows as Browser Windows
Windows System and Applications Information Center
|
|
| Generating Popup Windows as Browser Windows | | How to generate popup windows as Web browser windows? | | By: FYIcenter.com | If you want to generate a popup window as a real browser window,
you can use the window.open() method.
See the following JavaScript code outline:
<a href="javascript:pWindowOpen();">Click your ...
...
<script language="JavaScript">
/*
* Popup Blocker Test - P_WINDOW_OPEN
* - Popup Windows in Forms of Browser Windows
*
* A popup window shows up in the form of a browser window.
* JavaScript codes implemented to call the code method.
*
* Version of 2007.01.01
* Download at http://sqa.fyicenter.com/tools/
* Copyright (C) 2007 FYIcenter.com. All rights reserved.
*/
function pWindowOpen() {
fyicenterWin = window.open('popup_blocker_test_...
'toolbar=no,scrollbars=no,resizeable=no,width...
}
</script>
You can also visit
Popup Blocker Test - P_WINDOW_OPEN
page to get the complete source code and to see how it works.
| | ID: 280 | Rank: 1255 | Votes: 0 | Views: 115 | Submitted: 20070117 |
Copyright © 2009 FYIcenter.com
All rights in the contents of this Website are reserved by the individual author.
No part of the contents may be reproduced in any form without author's permission.
|
|
|