469,917 Members | 2,295 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

Scroll bar not appearing on showModalDialog

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

var dlgStyle = "scroll:on;status:no;resizable:yes;help:no;dialogH eight:680px;dialogWidth:900px;";
var retVal = window.showModalDialog( "Dialog.do?dlgTitle=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
Jul 20 '05 #1
2 7181

"Harvey Tate" <ha********@ntlworld.com> schreef in bericht
news:1c**************************@posting.google.c om...
I am using the following code to open a printer friendly window

var dlgStyle = "scroll:on;status:no;resizable:yes;help:no;dialogH eight:680px;dialogWidth:90
0px;"; var retVal = window.showModalDialog( "Dialog.do?dlgTitle=Print
Preview", url, dlgStyle );


Try the following:

var dlgStyle =
"status:no;resizable:yes;help:no;dialogHeight:680p x;dialogWidth:900px;";
var retVal = window.showModalDialog( "Dialog.do?dlgTitle=Print%20Preview",
"", dlgStyle );

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

Jul 20 '05 #2
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
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Axel Dahmen | last post: by
4 posts views Thread by MW de Jager | last post: by
2 posts views Thread by Jamie | last post: by
6 posts views Thread by David | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.