...

View Full Version : Re: window.open() not working as desired



cptn_future
01-03-2004, 01:39 AM
Hi All...
Im using Dreamweaver MX to open a new independet browswer, via submit function. The page opens fine, but the dimensions dont open the way I want it. The open way to the bottom, despite using "top=0, left=0".
------------------------------------------------------------------------
//The Form
<form name="combowithtext" action="visitInput_result.asp" method="post" onsubmit="MM_openBrWindow(' ', 'new_window', 'scrollbars=yes,location=no,resizable=yes,width=1000,height=300,top=200, left=0');" target="_blank">

//the Open Function
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
-----------------------------------------------------------------

Any Suggestions??

Thanx

josses
01-03-2004, 09:36 PM
on the page that is the inital one that is opened in the popup window place in the <body>

onLoad="window.moveTo(0,0)"

for more information go to www.wsabstract.com



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum