Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2003
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: window.open() not working as desired

    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

  • #2
    New Coder
    Join Date
    Jan 2004
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •