tylerp
Joined: 19 Jun 2006 Posts: 1
|
Posted: Mon Jun 19, 2006 8:35 pm Post subject: cooljstree in two frames |
|
|
Hi,
I'm evaluating cooljstree. I have a frameset with a tree defined in one frame and content in another. When I load the frameset, I use the content page to select an item in the tree in the other frame.
In Firefox this works just fine. However, in IE I (intermittently) get an error saying that the variable (the tree) is not defined. I think this is because the frames are being loaded asynchronously.
I tried using parent.tree.document.readyState, and this works fine in IE. However, it doesn't work for Firefox, and I want to be cross-platform.
Does anyone know how to cause the content frame to wait until the tree has been defined before calling methods on it?
Thanks!
Tyler |
|