brownbag
03-11-2009, 06:50 PM
I have a simple window.showModalDialog code to bring up a dialog box. It works find until I close the dialog box and the initiating page moves to the top. Any ideas how to stop this: The code is below:
<script language="javascript">
function popUp()
{var url = "ipcc.php"; window.showModalDialog( url, "Intergovernmental Panel on Climate Change", "resizable:yes; scroll:yes; status:no; dialogLeft:100px; dialogTop:100px; dialogHeight:470px; dialogWidth:640px;");}
Thanks.
<script language="javascript">
function popUp()
{var url = "ipcc.php"; window.showModalDialog( url, "Intergovernmental Panel on Climate Change", "resizable:yes; scroll:yes; status:no; dialogLeft:100px; dialogTop:100px; dialogHeight:470px; dialogWidth:640px;");}
Thanks.