Current time: 12-07-2019, 04:16 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Conditional comments block downloads
01-04-2011, 03:57 AM
Post: #1
Conditional comments block downloads
Hi all,

As you may know the use of conditional comments, to load extra CSS files, blocks downloads of other elements in IE. For IE8 and IE9 we can fix that. But for IE6 and IE7 I have not found a solution, apart from not using the conditional comments :-).

Anyone here have a solution? Thanks for any comment.
Find all posts by this user
Quote this message in a reply
01-04-2011, 07:43 PM
Post: #2
RE: Conditional comments block downloads
(01-04-2011 03:57 AM)Geebee Wrote:  Hi all,

As you may know the use of conditional comments, to load extra CSS files, blocks downloads of other elements in IE. For IE8 and IE9 we can fix that. But for IE6 and IE7 I have not found a solution, apart from not using the conditional comments :-).

Anyone here have a solution? Thanks for any comment.

Does this help?

http://www.phpied.com/conditional-commen...downloads/

Neil
Find all posts by this user
Quote this message in a reply
01-04-2011, 08:00 PM
Post: #3
RE: Conditional comments block downloads
That article helps for IE8 and IE9beta, not for IE6 and IE7... :-(
Find all posts by this user
Quote this message in a reply
01-05-2011, 04:45 AM
Post: #4
RE: Conditional comments block downloads
(01-04-2011 08:00 PM)Geebee Wrote:  That article helps for IE8 and IE9beta, not for IE6 and IE7... :-(

Hmmm, *seems* to work for me. Got a link? (Thought that this was at least one fix I *had* managed to put in. Lol.)
Find all posts by this user
Quote this message in a reply
01-05-2011, 06:31 AM (This post was last modified: 01-05-2011 06:35 AM by Geebee.)
Post: #5
RE: Conditional comments block downloads
This one?
http://www.webpagetest.org/result/110104...1/details/

IE7: empty cond. comment RIGHT AFTER Doctype, scripts BEFORE css in the head and DEFERRED, but the css still blocks... :-(

You have a good working-example link?

Thanks!
Find all posts by this user
Quote this message in a reply
01-05-2011, 07:27 AM
Post: #6
RE: Conditional comments block downloads
Hmmm, that really shows what a new guy I am in all this: as far as I can see, stoel_opa.jpg starts coming down before screen-1.1.css has completed.

What am I missing?

N
Find all posts by this user
Quote this message in a reply
01-05-2011, 07:37 AM
Post: #7
RE: Conditional comments block downloads
No! I have it wrong! I took so many hours staring at those lines that I saw it wrong. There is no blocking, you are right. I was confused by the max of 2 parallel downloads of IE7. Thank you, my problem is gone :-)). It does work for all IE-versions, I am happy!

Greetz and thans again!
Find all posts by this user
Quote this message in a reply
01-05-2011, 07:43 AM
Post: #8
RE: Conditional comments block downloads
"took so many hours staring at those lines"

well that bit we *do* have in common. :-D

N
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)