mehulmistry
05-02-2007, 01:07 PM
1) Iframe SSI script
2) http://www.dynamicdrive.com/dynamicindex17/iframessi.htm
3) Describe problem:
hi all,
I'm using above script to dynamically resize the iFrame in my page. The scripts works fine,when it loads the page with iFrame SRC attribute set at load time.
Now I also have a menu in my page, and all <a href=""> links in the menu, targets the iframe in the page.So only the iFrame is loaded with new content but not entire page.But the problem here is the size of iFrame won't resize now. It will remain same, to what it was with previous content when entire page is loaded.
I tried to solve this problem, by adding "onload=dyniframesize()" attribute to iFrame, and again calling dyniframesize(). This solved the problem, except it gives object expected error sometime.
BUT this works only for IE. Bigger problem is when I load my page in Firefox, the iFrame is not loaded.
And this is where my page fails completely. I wanted to know is this a bug in Firefox? Do I have to add something extra in script for that?
Please help. I'm going mad, solving it with firefox, but i'm not getting anywhere?
Thanks,
Mehulmistry
2) http://www.dynamicdrive.com/dynamicindex17/iframessi.htm
3) Describe problem:
hi all,
I'm using above script to dynamically resize the iFrame in my page. The scripts works fine,when it loads the page with iFrame SRC attribute set at load time.
Now I also have a menu in my page, and all <a href=""> links in the menu, targets the iframe in the page.So only the iFrame is loaded with new content but not entire page.But the problem here is the size of iFrame won't resize now. It will remain same, to what it was with previous content when entire page is loaded.
I tried to solve this problem, by adding "onload=dyniframesize()" attribute to iFrame, and again calling dyniframesize(). This solved the problem, except it gives object expected error sometime.
BUT this works only for IE. Bigger problem is when I load my page in Firefox, the iFrame is not loaded.
And this is where my page fails completely. I wanted to know is this a bug in Firefox? Do I have to add something extra in script for that?
Please help. I'm going mad, solving it with firefox, but i'm not getting anywhere?
Thanks,
Mehulmistry