I'm trying to create layered layers by making some
layers children of another layer. I'm also trying to
make the parent layers content change using setHTML,
leaving the child layers alone.
I've attached a small test case that illustrates my
problem on IE5.0.
I create 2 top level layers, one blue at top of
screen, and one gray in mid-bottom. Inside the gray
one, I create 3 successive child layers, each on top
of its parent and slightly smaller. In the gray
layers (parent and children) exists some intial text
set with setHTML.
Now I attach a eventlistener to the blue layer (the
other top layer). When the mouse moves into the blue
layer and within, the coordinates are written back to
the top most gray layer.
The result I see is, on initial load, all layers are
visible w/proper text. Once the mouse event occurs,
and the coordinates are written to the parent gray
layer, all of the child gray layers disappear for
ever.
If you know what the problem here is I'd be greatful.
It would seem I'm just overlooking how the setHTML
stuff works.
Thanks
-Bruce
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
Title: DynAPI Distribution: Create Example