Scroll bar not appearing on showModalDialog

H

Harvey Tate

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

var dlgStyle = "scroll:eek:n;status:no;resizable:yes;help:no;dialogHeight: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
 
J

Janwillem Borleffs

Harvey Tate said:
I am using the following code to open a printer friendly window

var dlgStyle = "scroll:eek:n;status:no;resizable:yes;help:no;dialogHeight: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:680px;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
 
H

Harvey Tate

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,281
Latest member
Pedroaciny

Latest Threads

Top