Results 1 to 2 of 2

Thread: size of a window

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2002
    Location
    Delaware
    Posts
    33

    size of a window

    is there a way to set the size of a window?...and also...is there a way to close a window....i thought it was window.close...but it didn't work.
    <html>
    <marquee behavior="alternate" width=50%> This is a test </marquee>

  2. #2
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099
    Code:
    NewWin = window.open("yourfile.html","child","WIDTH=170px,HEIGHT=380px");
    
    NewWin.Close;
    that will open a window, then close it

Posting Permissions

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



Click Here to Expand Forum to Full Width