This will work fine in a content area, but how do I do this in a XUL
window? If I use style attributes on a <html:div> it seems to
ignore it. For example:
<html:div id="bob">Does nothing.
... stuff
</html:div>#bob
{
position: absolute;
top: 100px;
}
I also tried putting everything inside of a box with a spring on top.
Then in js, I set the style on the spring for "height", but it doesn't
seem to take affect either... Do I have to tell the window to reflow
or something?
Steve Clark wrote:
pretty much anything you could have done using layers, you can do using
CSS positioning. Take a look at the CSS spec. Some of our samples off
the viewer samples menu use positioning, if you'd like to look at some
examples. One of them is animated.Eric Plaster wrote:
>
> I have a requirement on a project that I am working on. They want a
> box of buttons to slide up from the bottom of the window under certain
> circumstances. In html, I would uses a layers with absolute/relative
> positions to "animate" the box up. How ever, we don't have layers.
> So, is there a way to do this in xul?
>
> --
> ----
> Eric Plaster Universal Talkware Corp
> Senior Software Engineer (612)843-6711
> [EMAIL PROTECTED] http://www.talkware.net
>
-- ---- Eric Plaster Universal Talkware Corp Senior Software Engineer (612)843-6711 [EMAIL PROTECTED] http://www.talkware.net
S/MIME Cryptographic Signature
