
window.open with scrollbars=yes not working for NS
Quote:
> I'm using jscript to do a popup window for a picture.
For a picture or for a document with only a picture in it? This is
important to know here.
window.open("image.gif", "", "scrollbars");
or
window.open("Popup.html", "", "scrollbars");
I turn off toolbar,
Quote:
> location, and have the scrollbars=yes or no depending on size.
You should just set scrollbars=yes; if content overflows window inner
dimensions, tehn scrollbars will appear accordingly.
I've noticed
Quote:
> that while this all works fine for IE6, when I try it in NS6 it all works
> EXCEPT I'm not getting the scrollbars.
When you set scrollbars=yes or scrollbars, then scrollbars will appear
only if needed, only if content overflows windows inner dimensions
(content area). The particular issue with MSIE 6 for Windows (and
possibly MSIE 5.x) is that the html node has the default declaration:
html {overflow-y:scroll; overflow:scroll;}
so, any browser window has inactive scrollbars regardless of content
issues. Proof of that is to open a "about:blank" window and you'll see
an [inactive but real] vertical scrollbar. Now, nobody there can say
that there is a need for scrollbars, right?
Which is a bummer, because then a lot
Quote:
> of the picture is below the bottom of the window and the user won't be able
> to view it.
> Is there any way to make this work for both browsers???
> any help greatly appreciated...
> -dg
I certainly can help as I'm familiar with details of this sort. Can you
give an url? Also, you need to specify if it's for which version
precisely: NS 6.1, NS 6.2.2,...?
DU