Forum Moderators: open

Message Too Old, No Replies

IE and IFRAMES

         

fcxsebs

3:28 pm on Nov 1, 2005 (gmt 0)

10+ Year Member



I have added IFRAMES to my forum, on each forum post and for some reason, IE wait until all IFRAMES are loaded before displaying the page.

It's not suppose to be like that? I wanted to use IFRAME for that, because the page could load and each IFRAME load seperatly.

I think it might be a bug with IE, because the source of my IFRAME is on the same website, it problably tries to load them up before goiing to the next block.

Anyway, has anyone experience that before or maybe someone have a solution?

Thanks a lot for your help.

JAB Creations

3:48 pm on Nov 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Frames...eh. Unless you have two independently working functions on your site that can not be interupted by loading a page then you do not need frames. For example my site plays music while you browse the rest of the site. I have some far feteched ideas about how to get around using frames even then. In the end frames serve only as a temporary solution though.

HTML pages are rendered as they are loaded. Either jump on dialup or connect to some slow server on the other end of the planet and you'll know what I mean.

Are the iframes at the top of the HTML code?

If you want the rest of the page to load FIRST then put the iframes in the code AFTER the parts of the page you want loaded first.

This would probally require some moderate to advanced HTML and CSS.

SuzyUK

7:29 am on Nov 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



fcxsebs is your forum in one large table?

if so it could be the table code that is the problem. IE has great support for table properties <col> <colgroup> etc.. and also the CSS property table-layout: fixed; [w3.org], using these often helps the rendering speed of the tables, It will cause the table to render the rows incrementally if it knows the width of the cells in advance.

[see Microsofts explanation [msdn.microsoft.com]]

You can optimize table rendering performance by specifying the tableLayout property. This property causes Microsoft Internet Explorer to render the table one row at a time, providing users with information at a faster pace. The tableLayout property determines column widths for a table in the following order:

  • 1. By using information in the width property for the col or colGroup element.
  • 2. By using information in the width property for the td elements in the first row.
  • 3. By dividing the table columns equally, regardless of the size of the content.

Not sure if that works with iframes too.. they could just be increasing the effect.

Suzy

fcxsebs

1:57 pm on Nov 2, 2005 (gmt 0)

10+ Year Member



Hi Suzy,

It's not in one big table, but thanks for the tips, I will use it at some point for another site.

SuzyUK

10:49 pm on Nov 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



NP.. fcxsebs..

was just having a guess anyways (forum usually = tables, that'll teach me ;)), perhaps if you can tell us where the iframes are appearing in a kind of pseudo fashion - i.e. if they're not a table are they in divs?

and if so any widths/heights specified?

Suzy