Page 1 of 1

another ie6 problem: javascript doesnt work correctly

Posted: Fri Apr 08, 2005 9:05 pm
by pinafore
hi there,

im using the iraq body counter on both of my websites. however, at my blog homepage the counter does not work when using ie6. it makes weird text scrollings from the bottom to the top. firefox works (i didnt expect anything else...!) i sent a message to the ibc admin and he wrote back the following:
For some weird reason the counter doesn't work in IE6 on web pages that have a strict DOCTYPE declaration at the top. The easy fix is to remove the DOCTYPE from pinafore.de.

A harder alternative is to put the <script> tag that invokes the counter into a separate HTML file (without DOCTYPE) and then include that file onto the main page with an <IFRAME>

Hope this helps,

David Flanagan
unfortunately, it does not help me very much. :) i tried to change the doctype tag but after that, my template layout wasnt shown correctly anymore. i dont want to use any iframes...

does anyone have a suggestion? you can take a look at the problem at http://www.pinafore.de/blog.

thanks in advance!

Re: another ie6 problem: javascript doesnt work correctly

Posted: Sat Apr 09, 2005 1:09 am
by garvinhicking
I'm afraid you're out of options.

s9y won't work without the doctype, and it's really the better way to stay compatible with right doctype. So please ask the iraq-body count people to properly code their JavaScript, there's nothing s9y can do about it. Tell them that the google AdSense JS works flawlessly in an s9y environment, so there's no reason any other JS shouldn't. ;)

Sorry mate. :)

Regards,
Garvin

Posted: Sat Apr 09, 2005 2:03 am
by pinafore
no problem, i WILL tell them. :)

btw: i tried his iframe solution... works fine. but i dont like iframes... theyre sent from hell! :)

Posted: Sat Apr 09, 2005 1:36 pm
by nohn
... as JavaScript is.

Posted: Sat Apr 09, 2005 2:52 pm
by garvinhicking
"Serendipity, featuring the Bastard JavaScript from Hell - Episode 1 - Then Phantom IFrame".

;)