Foros de discusión

full-height portlet?

yang wang, modificado hace 7 años.

full-height portlet?

New Member Mensajes: 2 Fecha de incorporación: 17/08/15 Mensajes recientes
Hi,
Is it possible to develop a full-height portlet, which can fill the screen height without a vertical scrollbar.
I am thinking of it might be necessary to use the window.onresize event to obtain the size of the window dynamically, thus the height of porlet div could be updated accordingly. Is this way workable?
And I am wondering if there is any ready-made method(api) to implement it ?

Any suggestions will be appreciated.
thumbnail
David H Nebinger, modificado hace 7 años.

RE: full-height portlet?

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
Um, no, this is a simple task using CSS, no javascript or resize event watching.






Come meet me at the LSNA!
yang wang, modificado hace 7 años.

RE: full-height portlet?

New Member Mensajes: 2 Fecha de incorporación: 17/08/15 Mensajes recientes
Really? Could you please give any details?
Thank you very much.