ajorg
05-03-2005, 08:24 PM
Hi,
I've tried the iframe autoresize script from Dynamic Drive,
http://www.dynamicdrive.com/dynamicindex17/iframessi2_dev.htm
but it only works if the document inside the iframe is on the same server.
I have two webservers and I want to be able to show webpages from webserver 2 inside the iframe on webserver 1. Is this possible?
Firefox generate following error in the Javascript console:
Error: [Exception... "'Permission denied to get property HTMLDocument.body' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
Thanks
I've tried the iframe autoresize script from Dynamic Drive,
http://www.dynamicdrive.com/dynamicindex17/iframessi2_dev.htm
but it only works if the document inside the iframe is on the same server.
I have two webservers and I want to be able to show webpages from webserver 2 inside the iframe on webserver 1. Is this possible?
Firefox generate following error in the Javascript console:
Error: [Exception... "'Permission denied to get property HTMLDocument.body' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
Thanks