another ie6 problem: javascript doesnt work correctly

Found a bug? Tell us!!
Post Reply
pinafore
Regular
Posts: 13
Joined: Mon Mar 21, 2005 1:59 am

another ie6 problem: javascript doesnt work correctly

Post 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!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: another ie6 problem: javascript doesnt work correctly

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
pinafore
Regular
Posts: 13
Joined: Mon Mar 21, 2005 1:59 am

Post 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! :)
nohn
Regular
Posts: 37
Joined: Fri Oct 08, 2004 3:28 pm

Post by nohn »

... as JavaScript is.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

"Serendipity, featuring the Bastard JavaScript from Hell - Episode 1 - Then Phantom IFrame".

;)
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply