Open a new window, but control the size

Results 1 to 2 of 2

Thread: Open a new window, but control the size

  1. #1
    Join Date
    Dec 1969

    Default Open a new window, but control the size

    I'd like to have the user click a link and it opens the new page in a new brower window, but I'd also like to control the size of the browser window (not to mention turning off other browser window features). Any thoughts?

  2. #2
    Join Date
    Dec 1969

    Default Ummmm...this is done all the time... and the JavaScript FAQ might be a place to look.<BR><BR>But you could also simply look in either the MSIE or NS documentation.<BR><BR>There are several ways to do this, depending on whether you want to send &#060;FORM&#062; info to the new window or not.<BR><BR>If it&#039;s just an &#060;A HREF&#062; link, though, you don&#039;t need any of that:<BR><BR>&#060;A HREF="#" onClick=";whatever.html&#039;,&#0 39;MYWINDOW&#039;,&#039;height=400,width=600&#039; );"&#062;<BR>click<BR>&#060;/A&#062;<BR><BR>Look in the docs to see other things you can control besides height and width of the window.<BR><BR>

Posting Permissions

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