Am Dienstag, 24. Juli 2001 09:38 schrieben Sie:
> First of all: Hello to everybody in this List and thanks to
> those who help build this API!!!
>
> I'm trying to build a collapsable Menu (like the popup menues,
> only from left to right). The thing is, this should work within a
> framed document and to make things a bit more spicy without
> to much layer stuff. I setteled on the idea to dynamically create
> two layers with two tables, one containing the mo images, one contains
> the menItems. Images are swapped by normal mouseOver. This is
> all wrapped up in an object called panelTable and works fine as
> long as it stays in its frame. As soon as I add this to another frames
> DynDocument it is still beeing displayed but the mouseover functions
> (enclosed) in the pT object are no longer found. What am I doing wrong?
Hi again!
After some testing, I found the solution for the refs to the mouseOver
functions (had to figure out that the functions still reside in the menu
frame in spite of the layer being diplayed in the content frame. This is what
content = new DynDocument(content frame);
DynAPI.addChild(content); does, am I right?)
Anyhow, everything works fine now, the menu works as intended BUT... ;-)
As soon as you choose an option from the menu(wich will cause the content
page to load another html page) the layers dissapear. This is all fine and
good, because the whole page is replaced the dynamically added stuff will be
replaced as well. What I'd like to know is: is it possible to COPY the dynapi
stuff which was dynamically added to the content frame and write it to the
freshly loaded page, thus keeping the menu alive? This would be great because
it still takes some time to generate the menu(on slower machines) and I'd
like to do this only once. As before: any help would be _really_
appreciated!!!
Take care and all the best
Bj�rn
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help