SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Jul 2004
    Location
    MA
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    No to resize, Yes to maximize?

    I've never heard of this before, but is it possible to disable the resize option from a JavaScript popup while keeping the window's maximize button enabled?

    Thanks.

  2. #2
    SitePoint Addict psyon's Avatar
    Join Date
    May 2004
    Location
    Cedar Rapids
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I dont think it is possible. Never seen it done, and really dont see the point.

  3. #3
    SitePoint Aficionado JVLB's Avatar
    Join Date
    Jan 2002
    Location
    N 44 56.537' W 123 3.683'
    Posts
    1,127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is an onresize event that you could intercept and then override the default behavior with a script (likely to make things a bit jumpy, though, I suspect).

  4. #4
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,424
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    <body onResize="window.resizeTo(200,200)">

    The 200 is wdth and height of the window. Adjust appropriately.


Bookmarks

Posting Permissions

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