You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "GROSSJOHANN, Kai" <Ka...@ser.de> on 2003/11/13 17:49:01 UTC
Find out portlet size in pixels?
My understanding is that the portlet container determines the size of the
portlets, at least to some extent.
Now I have some complicated JavaScript stuff which needs to know the size of
the document in pixels. For the no-portlet implementation I just do
(window.innerWidth || document.body.offsetWidth) to find out.
But how to find out the width and height for a portlet?
Kai
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org