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
    Regular Coder
    Join Date
    Oct 2003
    Posts
    603
    Thanks
    2
    Thanked 1 Time in 1 Post

    linking to a new window with a certain size

    how do i make a link so that it will open a page in a new window and have that new window be a certain size?

    i tried this but it only opens the page in a full-size window, not in the size i want....

    <a href="javascript:window.open('views.php', width='575', height='200');">Click Here to View Current</a>

  • #2
    Regular Coder
    Join Date
    Jul 2003
    Location
    Massachusetts
    Posts
    472
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    <a href="foo.html" onclick="window.open(this.href, '', 'width=575,height=200');">Click here to view current.</a>


  •  

    Posting Permissions

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