By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,605 Members | 2,129 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,605 IT Pros & Developers. It's quick & easy.

Scroll bar not appearing on showModalDialog

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a

"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

P: n/a
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.