
December 8th, 2002, 08:46 PM
|
|
|
|
Join Date: Apr 2007
Location: WI
Posts: 247
Time spent in forums: < 1 sec
Reputation Power: 3
|
|
|
what is the best way to do this?
ok, here is the situation
I have a set of objects which take a given database and then allow the admin of it. generically making it.
right now it is all genric.
I have 3 different parts - choose a table, chose an item and then admin the item. Right now these are all in seperate frames etc. But because I want to have a design around it I have iframes inside the frames. ANyway I want the objects to work regardless of where they are on the page.
so , they could be in different frames, I frames etc in any combination on the page.
I wish to keep my code generic but because they all need to communicate each bit needs to know where the others are, and like I said they could be anywhere.
Still with me??? :-)
So how can I achieve this? my best idea involves giving a constant name to each bit and then using javascript to recurse the node tree looking for the other bits. each one would have to hunt down the others so to speak. This has proved to be tough, anyone know how to do this or have any other ideas on how I can do this but stay as generic as possible.
Thanks
|