PDA

View Full Version : Iframe SSI scriptII help!



jsilva
01-31-2005, 09:36 PM
Hello,

Is it possible to take the iframe SSI scriptII and code to allow its function for a page that is loaded into an iframe from another domain?

Currently the iframe (with DD script inserted) will automaticlly adjust its height according to the content being loaded into it. But it only works for content residing within the same domain.

I will be loading content into the iframe from another domain.

Is there any possible way to manipulate the DD script and save my life? :)

Is there any other alternatives to my problem.
Answers are greatly, greatly appreciated!!

THX-J

ChasDevlin
01-31-2005, 10:19 PM
take this with a grain of salt, but i don't think so. i recall something about it being unable to know the dimensions of pages outside its domain. check the page again for the exact text. it explains it all there.

ddadmin
01-31-2005, 11:49 PM
Unfortunately no. This is a security feature of JavaScript itself. If a JavaScript can access the contents of another domain, then heaps of security problems will arise, such as phishing and stealing user passwords.