In One Page,how to click the content in the inline frame to change content of the other inline frame?

i make four pages  named PageA、PageB 、PageC and PageD.
in PageA ,i put in  two inline frame widget: Frame1 and Frame2 .
i put a tree widget in PageB and linked to Frame1 ,and linked PageC to FrameB .

Now i want to realize the action like this :
when i click the node of the tree,how to change the content of Frame2 to PageD?

It’s been awhile since I’ve used an iframe, but I don’t think you can do it… for security reasons buried deep within browsers and servers.

I’m sure there are ways around this security feature (global variables, click events, fire events, etc.). You might need to get creative.