Thanks for the reply, I will do that. Maybe it would be nice to include that function in Qooxdoo somewhere too.
Jean-Noel On Thu, Jun 25, 2009 at 2:58 PM, Daniel Wagner <daniel.wag...@1und1.de>wrote: > Hi Jean-Noel, > > Prototype's visible() method looks very simple: > > visible: function(element) { > return $(element).style.display != 'none'; > } > > In qooxdoo, you could use qx.bom.element.Style.get() to check if > "display" isn't set to "none". Additionally, you could check if > qx.bom.element.Dimension.getHeight() and getWidth() return values > greater than 0. > > > Regards, > Daniel > > Jean-Noël Rivasseau schrieb: > > Pretty much everything is in the title, I am looking for a Qx function > > that checks if a given DOM element is currently visible on the page. > > > > According to > > http://qooxdoo.org/documentation/general/library_features/dom, no > > replacement is listed, how would I do that then? > > > > Jean-Noel > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > qooxdoo-devel mailing list > > qooxdoo-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------------ > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >
------------------------------------------------------------------------------
_______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel