I want to hear your reasoning about this:
an inline application with a tag called
<div id="tot"></div>
tot.css
height : 480px;
width : 720px;
//this.debug(inlineIsle.getBounds().height + " " +
inlineIsle.getBounds().width + " " + inlineIsle.getBounds().left + " "
+ inlineIsle.getBounds().top);
- does not work as it has not got any bounds yet
this.debug(inlineIsle.getHeight() + " " + inlineIsle.getWidth());
- null
this.debug(inlineIsle.getMinHeight() + " " + inlineIsle.getMinWidth());
- null
this.debug(inlineIsle.getMaxHeight() + " " + inlineIsle.getMaxWidth());
- null
//this.debug(inlineIsle.getContentLocation().bottom + " " +
inlineIsle.getContentLocation().top + " " +
inlineIsle.getContentLocation().left + " " +
inlineIsle.getContentLocation().right);
- does not exist yet
this.debug(inlineIsle.getContainerLocation().bottom + " " +
inlineIsle.getContainerLocation().top + " " +
inlineIsle.getContainerLocation().left + " " +
inlineIsle.getContainerLocation().right);
gives:
right and left -> correct values
top = bottom -> means that height is zero, so bottom is wrong meaning that it
does not yet contain anything (of course)
Then the question: I need to know the height of the div but I can not get it
this way. Also tried content element but I could not get it.
What would be your suggestions?
The reason is to center something on screen, like a splash screen, before the
application comes up.
Our solution now was to hard code the height value, which is not so nice!
Stefan
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel