window.open doesn't opens resizeable and with scrollbars

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Koyan

    #1

    window.open doesn't opens resizeable and with scrollbars

    Hallo everybody,

    I have in my website administration pages the following script:

    function openWin(){
    window.open("/multimedia/display?frmNm=0 &obj=imageid&ca pobj=imgcaption ","display","sc rollbar=yes,res izeable=yes,men ubar=no,width=5 00,height=500") ;

    When this script is called, a popup window opens. The problem is that it
    opens allright (with scrollbars and resizeable) in Opera and Mozzilla, it
    is not resizeable and it has no scrollbars, when I open it from iexplorer
    and mozzillafirebir d.

    Anyone has any ideas what I am doing wrong?

    Thanks,
    Koyan

    --
    Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
  • Fred Serry

    #2
    Re: window.open doesn't opens resizeable and with scrollbars


    "Koyan" <Kkoyan@yahoo.c om> schreef...[color=blue]
    > I have in my website administration pages the following script:
    >
    > function openWin(){
    >[/color]
    window.open("/multimedia/display?frmNm=0 &obj=imageid&ca pobj=imgcaption ",
    "display","scro llbar=yes,resiz eable=yes,menub ar=no,width=500 ,height=500"
    );
    [color=blue]
    > Anyone has any ideas what I am doing wrong?[/color]

    Hi,

    For short: RTFM.

    If you use scrollbars=yes, resizable=yes instead of
    scrollbar=yes,r esizeable=yes, it will do allright.

    Fred


    Comment

    • Lasse Reichstein Nielsen

      #3
      Re: window.open doesn't opens resizeable and with scrollbars

      Koyan <Kkoyan@yahoo.c om> writes:
      [color=blue]
      > I have in my website administration pages the following script:
      >
      > function openWin(){
      > window.open("/multimedia/display?frmNm=0 &obj=imageid&ca pobj=imgcaption ","display","sc rollbar=yes,res izeable=yes,men ubar=no,width=5 00,height=500") ;[/color]
      [color=blue]
      > Anyone has any ideas what I am doing wrong?[/color]

      It is spelled "scrollbars " (plural) and "resizable" (without the "e").
      Since you don't give the properties "scrollbars " and "resizable" they
      default to "no".

      /L
      --
      Lasse Reichstein Nielsen - lrn@hotpop.com
      DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
      'Faith without judgement merely degrades the spirit divine.'

      Comment

      • Koyan

        #4
        Re: window.open doesn't opens resizeable and with scrollbars

        On Wed, 12 Nov 2003 15:58:41 +0100, Fred Serry
        <fred.serry.rem ove@planet.nl> wrote:
        [color=blue]
        > If you use scrollbars=yes, resizable=yes instead of
        > scrollbar=yes,r esizeable=yes, it will do allright.
        >
        > Fred[/color]
        Thanks Fred,
        corrected now.

        Comment

        • Koyan

          #5
          Re: window.open doesn't opens resizeable and with scrollbars

          On Wed, 12 Nov 2003 16:04:18 +0100, Lasse Reichstein Nielsen
          <lrn@hotpop.com > wrote:
          [color=blue]
          > It is spelled "scrollbars " (plural) and "resizable" (without the "e").
          > Since you don't give the properties "scrollbars " and "resizable" they
          > default to "no".
          >
          > /L[/color]
          Thanks, corrected now.



          --
          Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

          Comment

          Working...