PDA

View Full Version : IFRAME (Iframe SSI script II) does not work on IE7



penny1jordan23
08-08-2007, 12:07 AM
hi

I have followed the Iframe SSI script II (http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm) to get my iframe height adjusted to its content.

It worked perfectly on Firefox and IE6, but i just realize that the whole iframe doesnèt show up in IE7. I need to press refresh to get the iframe loaded.

Can anybody help me out....Its urgent..... thx thx thx :D

ddadmin
08-08-2007, 05:30 AM
Does the DD demo work for you in IE7? Please post a link to the page on your site that contains the problematic script so we can check it out.

penny1jordan23
08-08-2007, 06:30 PM
www.grandviewscreen.ca/index2.htm

ddadmin
08-08-2007, 07:05 PM
Hi:
I just checked your page in both Firefox 2 and IE7, and the script seems to be correctly embedding the iframe content onto your page. However, whether or not it works, I think it's important to mention the Iframe SSI scripts from a usage standpoint is best used to embed a small chunk of data onto the target page, not essentially the entire contents of the target page. That's not a good idea in general, because if the user has JavaScript disabled, most of your page could appear broken/ inaccessible. I'd advise that you don't use this script in such a manner.

penny1jordan23
08-08-2007, 07:20 PM
so is there any other way that can meet my requirement?

ddadmin
08-08-2007, 07:48 PM
If you're trying to include the bulk of a webpage dynamically, I'd look at using SSI (http://www.javascriptkit.com/howto/ssi.shtml) (server side includes).

penny1jordan23
08-08-2007, 09:49 PM
Basically what i want is the top flash bar and menu bar don't refresh everytime