M
Marek Kotowski
I have a HTML content with some pages
defined as <div>...</div>. One of them
is visible while the rest is hidden (the
visibility can be changed on client side).
The problem: standard window scroller
counts whole content (visible and hidden)
so empty space is also scrolled. I'd like
it to behave as only visible content
is to be scrolled (not empty space).
The same applies to print (window.print).
It prints not only what is visible, but
also empty pages for these div's which
are not visible.
How to set scroller (and print method)
to take only visible content of page?
Thank you in advance.
Marek Kotowski
Warsaw
defined as <div>...</div>. One of them
is visible while the rest is hidden (the
visibility can be changed on client side).
The problem: standard window scroller
counts whole content (visible and hidden)
so empty space is also scrolled. I'd like
it to behave as only visible content
is to be scrolled (not empty space).
The same applies to print (window.print).
It prints not only what is visible, but
also empty pages for these div's which
are not visible.
How to set scroller (and print method)
to take only visible content of page?
Thank you in advance.
Marek Kotowski
Warsaw