Scroll bar not appearing on showModalDialog

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

    Scroll bar not appearing on showModalDialog

    I am using the following code to open a printer friendly window

    var dlgStyle = "scroll:on;stat us:no;resizable :yes;help:no;di alogHeight:680p x;dialogWidth:9 00px;";
    var retVal = window.showModa lDialog( "Dialog.do?dlgT itle=Print
    Preview", url, dlgStyle );


    However when the window is presented the space for the scrollbar is
    there, but there is no actual scroller even though the text/graphics
    go off the bottom of the window....

    Any help appreciated

    Harvey
  • Janwillem Borleffs

    #2
    Re: Scroll bar not appearing on showModalDialog


    "Harvey Tate" <harveytate@ntl world.com> schreef in bericht
    news:1c6dbd90.0 312100742.6043e c67@posting.goo gle.com...[color=blue]
    > I am using the following code to open a printer friendly window
    >
    > var dlgStyle =[/color]
    "scroll:on;stat us:no;resizable :yes;help:no;di alogHeight:680p x;dialogWidth:9 0
    0px;";[color=blue]
    > var retVal = window.showModa lDialog( "Dialog.do?dlgT itle=Print
    > Preview", url, dlgStyle );
    >
    >[/color]

    Try the following:

    var dlgStyle =
    "status:no;resi zable:yes;help: no;dialogHeight :680px;dialogWi dth:900px;";
    var retVal = window.showModa lDialog( "Dialog.do?dlgT itle=Print%20Pr eview",
    "", dlgStyle );

    (the default value for scroll is 'yes', so you can leave it out and the
    second argument is left blank)


    HTH,
    JW



    Comment

    • Harvey Tate

      #3
      Re: Scroll bar not appearing on showModalDialog

      Thanks JW but no difference.. the space for it is there but no
      scroller or the up/down buttons at the top and bottom... weird.

      rgds

      Harvey

      Comment

      Working...