Hans
11-24-2006, 08:57 AM
1) Script Title:
Iframe SSI script II
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/iframessi2_dev.htm
3) Describe problem:
In the function resizeIframe(frameid), line
else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntax
the attribute that is refered to, Document, causes a Permission Denied error in IE6 and IE7.
Reason: the capital D in Document!!!!
Possible solution:
change 'currentfr.Document' into 'currentfr.document'
OR !!!!!
instead of using Document, the attribute contentDocument should have been used, but that is more of a logical question....
Iframe SSI script II
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/iframessi2_dev.htm
3) Describe problem:
In the function resizeIframe(frameid), line
else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntax
the attribute that is refered to, Document, causes a Permission Denied error in IE6 and IE7.
Reason: the capital D in Document!!!!
Possible solution:
change 'currentfr.Document' into 'currentfr.document'
OR !!!!!
instead of using Document, the attribute contentDocument should have been used, but that is more of a logical question....