navaro
01-28-2005, 06:34 PM
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm
It appears from this forum that most people are not having problems with this script working at a very basic level. However, I can not seem to even get it to work at all. Using Frontpage 2002 as my editor (my shame), the code gives the following script error on preview:
Line: 45
Char: 6
Error: Permission Denied
When I hunted this down, it appears that it is having trouble with the if statement in the following line:
else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntax
All referenced pages exist in the same root web directory. If the scripted page is saved regardless and viewed from eithe IE6 or FF, the resizing does not work, understandably. Is this just a security setting issue with my browser or a code issue? I'm not astute enough to know just yet.
don
It appears from this forum that most people are not having problems with this script working at a very basic level. However, I can not seem to even get it to work at all. Using Frontpage 2002 as my editor (my shame), the code gives the following script error on preview:
Line: 45
Char: 6
Error: Permission Denied
When I hunted this down, it appears that it is having trouble with the if statement in the following line:
else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntax
All referenced pages exist in the same root web directory. If the scripted page is saved regardless and viewed from eithe IE6 or FF, the resizing does not work, understandably. Is this just a security setting issue with my browser or a code issue? I'm not astute enough to know just yet.
don