XPath

Axehack

In Runtime
Messages
110
Location
http:\\www
Ok, Im still having trouble pulling CSS cross domain from my parent page to an iFrame.

It has been suggested that I try XPath

Does anybody know how to use javascript & XPath to do this?

please note, that the whole idea of this is to do it without modifying the code in the parent in any way!
 
using iframe.src still seems to be the best way to me.

read this, its a perfect example

Secure Cross-Domain Communication in the Browser

edit - requires editing the parent though

I Agree, All i need is for them to append a variable to the src= URL, but they dont want to pull a dev off of another job to do it. So I have to find another way.

I have also been told to look at: xmlhttprequest

Cant see this working either, but if i can get it working locally, then show that it doesnt work cross domain then Ill be getting somewhere at least.....
 
I have also been told to look at: xmlhttprequest

Cant see this working either, but if i can get it working locally, then show that it doesnt work cross domain then Ill be getting somewhere at least.....

wow, definately not very performance friendly. it should work, I would use php fopen with the url.

the iframe page requests the child page.

the server uses fopen to read the parent ... again.

the server finds the font value.

the server generates the child page w font value.

the server sends the child page.
 
Back
Top Bottom