• Resolved darwood

    (@darwood)


    I would first like to say thank you for creating a wonderful widget. It was exactly what i was looking for.

    I appear to be having a problem with the background color of the rotating tweets. While in Chrome, Safari, Firefox it is showing as transparent, that is the way i want it. In IE9 i am getting a black background.

    url of my site: https://www.gaveroid.com

    I have made use of the yourstyle.css. While i am able to change the color of the background using background-color i cannot get IE9 to go transparent. Thank you in advanced for your help.

    https://www.ads-software.com/extend/plugins/rotatingtweets/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Martin Tod

    (@mpntod)

    I don’t have any immediate answers to this – because (as far as I know) Rotating Tweets doesn’t do anything to the background colour.

    However the jQuery.cycle script does make some background changes.

    What happens if you add

    cleartypeNoBg: true,

    at around lines 38 and 65 to the /js/rotating_tweets.js javascript?

    Thread Starter darwood

    (@darwood)

    Works like a charm. Thank you ever so much for providing me with such a quick and simple solution.

    Plugin Author Martin Tod

    (@mpntod)

    Cool.

    It means that (for some reason), your site is displaying in Quirks mode – and that it will (now) look very odd in IE6 with a fade transition (as per this) – which, since you’re not using it, probably isn’t a problem!

    Stopping quirks mode can be a bit of a pain – but is probably worth doing. There’s nothing obvious to cause it except perhaps the line-break in the middle of

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    It may be enough to remove the line break or change this to

    <!DOCTYPE html>

    … which leaves the question of whether to build the cleartypeNoBg: true, flag into the main code. I don’t know how many sites have fade transitions and are being viewed in IE6!

    Plugin Author Martin Tod

    (@mpntod)

    As a PS, I looked at IE6 traffic on my own website for the last year – and have now built this setting into the main plug-in. So you won’t have to edit the HTML every time the plug-in upgrades! ??

    (Cue hordes of disgruntled IE6 users…)

    Thread Starter darwood

    (@darwood)

    Martin thanks again. I took your suggestion and changed the DOCTYPE. I tried removing the “cleartypeNoBg: true” to see what would happen and the black border came back. Although if i chose compatibility mode from IE9 it went away. My site seems to be behaving correctly now for the best part. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘IE9 background problem’ is closed to new replies.