Anyone still using IE6?

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

User avatar
Starglider
Miles Dyson
Posts: 8709
Joined: 2007-04-05 09:44pm
Location: Isle of Dogs
Contact:

Post by Starglider »

Darth Wong wrote:Naturally, I couldn't leave well enough alone, so I added something else to the page that promptly caused more problems in IE6 ...

http://bbs.stardestroyer.net/viewtopic.php?t=112869
The pop-up menus are working fine since you added the javascript. However your topics list has run afoul of another idiotic bug in IE6; failure to redo layout after content has finnished loading. Here's what it looks like on loading;

Image

and here's what it looks like after I've resized the window by one pixel;

Image

I've run into this myself; the simple solution is to have the script set the component size (forcing a relayout operation) after it has finnished modifying the document. The hard solution would be to make the topic list generation script a server side operation rather than a client-side one.
User avatar
Darth Wong
Sith Lord
Sith Lord
Posts: 70028
Joined: 2002-07-03 12:25am
Location: Toronto, Canada
Contact:

Post by Darth Wong »

Not to be totally dense, but could you clarify what you mean by "set the component size"?
Image
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing

"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC

"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness

"Viagra commercials appear to save lives" - tharkûn on US health care.

http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
User avatar
Starglider
Miles Dyson
Posts: 8709
Joined: 2007-04-05 09:44pm
Location: Isle of Dogs
Contact:

Post by Starglider »

Darth Wong wrote:Not to be totally dense, but could you clarify what you mean by "set the component size"?
This fixes the problem in IE6:

Code: Select all

replace

<body>

with

<body onload="document.getElementById('topics').style.width='100%'">

replace

<iframe src="ForumTopics.html" width="100%" height="200"

with

<iframe id="topics" src="ForumTopics.html" width="100%" height="200"
User avatar
Darth Wong
Sith Lord
Sith Lord
Posts: 70028
Joined: 2002-07-03 12:25am
Location: Toronto, Canada
Contact:

Post by Darth Wong »

Thanks, but I actually went back to the OBJECT tag when I discovered that the IFRAME tag breaks XHTML validation. IE6 users will just have to see those ugly borders.
Image
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing

"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC

"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness

"Viagra commercials appear to save lives" - tharkûn on US health care.

http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
User avatar
Starglider
Miles Dyson
Posts: 8709
Joined: 2007-04-05 09:44pm
Location: Isle of Dogs
Contact:

Post by Starglider »

Darth Wong wrote:Thanks, but I actually went back to the OBJECT tag when I discovered that the IFRAME tag breaks XHTML validation.
Pandering to the (many) flaws of IE is a pain in the ass anyway, but I am curious why you're keen on XHTML strict validation. AFAIK you're not doing any machine processing of the XML files that would actually require it. I just use the validator as a HTML check, there isn't really any penalty with non-compliance as long as it works in all current and future browsers.
User avatar
Darth Wong
Sith Lord
Sith Lord
Posts: 70028
Joined: 2002-07-03 12:25am
Location: Toronto, Canada
Contact:

Post by Darth Wong »

Starglider wrote:
Darth Wong wrote:Thanks, but I actually went back to the OBJECT tag when I discovered that the IFRAME tag breaks XHTML validation.
Pandering to the (many) flaws of IE is a pain in the ass anyway, but I am curious why you're keen on XHTML strict validation. AFAIK you're not doing any machine processing of the XML files that would actually require it. I just use the validator as a HTML check, there isn't really any penalty with non-compliance as long as it works in all current and future browsers.
It doesn't really cost me anything (except for this IFRAME vs OBJECT tag thing), and if it validates Strict, then I know I didn't leave any tags dangling. The loose formulations allow you to make some pretty badly messed-up HTML and not realize it.
Image
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing

"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC

"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness

"Viagra commercials appear to save lives" - tharkûn on US health care.

http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
User avatar
Starglider
Miles Dyson
Posts: 8709
Joined: 2007-04-05 09:44pm
Location: Isle of Dogs
Contact:

Post by Starglider »

Darth Wong wrote:It doesn't really cost me anything (except for this IFRAME vs OBJECT tag thing), and if it validates Strict, then I know I didn't leave any tags dangling. The loose formulations allow you to make some pretty badly messed-up HTML and not realize it.
This is one reason why I use XHTML 1.0 Transitional a lot of the time instead of Strict - it allows some old tags I still like to use and still does all the other helpful structure/sanity checking. Not that I write a lot of HTML these days, though I've just had a little burst of it (enough to make me hope we get the budget to hire a proper web designer soon :) ).
User avatar
Darth Wong
Sith Lord
Sith Lord
Posts: 70028
Joined: 2002-07-03 12:25am
Location: Toronto, Canada
Contact:

Post by Darth Wong »

BTW, do you know how to force a refresh of the stylesheet? I discovered to my chagrin that the updated site is virtually unusable if you load it on a computer that has a cached version of the old stylesheet. I have to force browsers to reload the stylesheet, at least temporarily.
Image
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing

"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC

"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness

"Viagra commercials appear to save lives" - tharkûn on US health care.

http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
User avatar
Starglider
Miles Dyson
Posts: 8709
Joined: 2007-04-05 09:44pm
Location: Isle of Dogs
Contact:

Post by Starglider »

Darth Wong wrote:BTW, do you know how to force a refresh of the stylesheet?
Disabling caching on the current stylesheet wouldn't help, because the browser already has a copy that it thinks is good for a while before needing to check if the server has an updated version. You can either change the stylesheet filename name and thus force a fresh load, or you can just wait for the old stylesheet to time out (in the meantime, you can hold down shift and click reload to force a reload of all page elements). I'm not aware of any javascript way to bypass browser caching, but I imagine you wouldn't want to leave that in your page code anyway, because it would force a stylesheet load every single time a page on your site is accessed.
User avatar
Darth Wong
Sith Lord
Sith Lord
Posts: 70028
Joined: 2002-07-03 12:25am
Location: Toronto, Canada
Contact:

Post by Darth Wong »

Question: does IE5 render CSS the same way IE6 does? Or is IE5 so ancient that people just ignore it, the way the Web pretty much left NS4 and IE4 behind years ago?
Image
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing

"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC

"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness

"Viagra commercials appear to save lives" - tharkûn on US health care.

http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
User avatar
Xisiqomelir
Jedi Council Member
Posts: 1757
Joined: 2003-01-16 09:27am
Location: Valuetown
Contact:

Post by Xisiqomelir »

Darth Wong wrote:Question: does IE5 render CSS the same way IE6 does? Or is IE5 so ancient that people just ignore it, the way the Web pretty much left NS4 and IE4 behind years ago?
I have Mac IE5 if you want me to test something.
User avatar
Darth Wong
Sith Lord
Sith Lord
Posts: 70028
Joined: 2002-07-03 12:25am
Location: Toronto, Canada
Contact:

Post by Darth Wong »

Xisiqomelir wrote:
Darth Wong wrote:Question: does IE5 render CSS the same way IE6 does? Or is IE5 so ancient that people just ignore it, the way the Web pretty much left NS4 and IE4 behind years ago?
I have Mac IE5 if you want me to test something.
Well, I guess I just want to know that the www.creationtheory.org site looks pretty much the same on IE5 as it does on IE6. I downloaded a copy of NS4 to try and it looks like absolute shit, but I think NS4 is so old now that I can just ignore it.
Image
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing

"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC

"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness

"Viagra commercials appear to save lives" - tharkûn on US health care.

http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
User avatar
Dooey Jo
Sith Devotee
Posts: 3127
Joined: 2002-08-09 01:09pm
Location: The land beyond the forest; Sweden.
Contact:

Post by Dooey Jo »

Mac IE5 has a few different quirks from the Windows version, though.
Darth Wong wrote:Question: does IE5 render CSS the same way IE6 does? Or is IE5 so ancient that people just ignore it, the way the Web pretty much left NS4 and IE4 behind years ago?
It's basically the same, but has support for less features. The really nice web developers make their sites work acceptably with IE5.5, but below that it's not much point. I think most would tell people who use anything less than IE6 to get a better browser or fuck off (my bank does, for instance, though not in so many words). Besides, who uses that thing? IE5 is over eight years old...
Image
"Nippon ichi, bitches! Boing-boing."
Mai smote the demonic fires of heck...

Faker Ninjas invented ninjitsu
User avatar
Xisiqomelir
Jedi Council Member
Posts: 1757
Joined: 2003-01-16 09:27am
Location: Valuetown
Contact:

Post by Xisiqomelir »

Darth Wong wrote:
Xisiqomelir wrote:
Darth Wong wrote:Question: does IE5 render CSS the same way IE6 does? Or is IE5 so ancient that people just ignore it, the way the Web pretty much left NS4 and IE4 behind years ago?
I have Mac IE5 if you want me to test something.
Well, I guess I just want to know that the www.creationtheory.org site looks pretty much the same on IE5 as it does on IE6. I downloaded a copy of NS4 to try and it looks like absolute shit, but I think NS4 is so old now that I can just ignore it.
Sorry, just remembered I promised to do this. The page looks okay, but IE5 says I don't have the plugin for text/html, so the sidebars are invisible (but still clickable).

Screenshot

I tried to download the plugin on my G4, but couldn't install it. I'll have access to an iBook sometime next week.
User avatar
Darth Wong
Sith Lord
Sith Lord
Posts: 70028
Joined: 2002-07-03 12:25am
Location: Toronto, Canada
Contact:

Post by Darth Wong »

Thanks. It's not perfect, but I guess it'll have to do. I suppose an alternate possibility is to try and turn off the stylesheet entirely for IE5 and older, but I'd hate to get false positives and turn off CSS for a modern browser.
Image
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing

"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC

"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness

"Viagra commercials appear to save lives" - tharkûn on US health care.

http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
Post Reply