View Full Version : IFrame Resize

06-14-2007, 02:45 PM
I absolutely love this iframe script and that it resizes but it appears to only work with files on the same domain. Is there anything out that with the same functionality that allows you to use content not on the same server?


Thanks in advance!

06-14-2007, 03:44 PM
Cross-domain security prevents JavaScript from accessing data from a different domain. You can link to a different domain in an iframe. But a resizing script needs to actually access data about the height of a page in order to work. Since it can't do that, resizing will only work if the pages are on the same domain.