Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: permutations on July 30, 2005, 04:19:13 PM

Title: news fader font is very low-res in IE
Post by: permutations on July 30, 2005, 04:19:13 PM
The news fader font in the index is very low res and weird looking in IE (most of the time). It looks fine in FireFox. This only started happening after I upgraded the forum to SMF 1.1 Beta 3. I got the font to display correctly once by toggling the display of the news fader on and off, but now that doesn't work and the font always looks weird - like it's a 640x480 bitmap. Is this a known problem?
Title: Re: news fader font is very low-res in IE
Post by: [Unknown] on July 30, 2005, 04:29:32 PM
Some versions of IE, at some resolutions with some video drivers, don't do opacity very well.  Use the old fader.js if this is a problem.

-[Unknown]
Title: Re: news fader font is very low-res in IE
Post by: permutations on July 30, 2005, 04:43:41 PM
I uploaded the 1.0.5 version of fader.js, cleared the cache, closed the browser, and reloaded the forum. It still looks weird. Is this an IE caching problem? Any idea what's wrong? I'm pretty sure the 1.0.5 version of fader.js looked fine before I upgraded.
Title: Re: news fader font is very low-res in IE
Post by: xenovanis on July 31, 2005, 03:35:09 AM
I had the same problem, this may not be the most elegant solution but it did solve it.

In BoardIndex.template.php find:


      // Prepare all the javascript settings.
      echo '
         <div id="smfFadeScroller" style="width: 90%; padding: 2px; color: #000000;"><b>',


replace with:

     // Prepare all the javascript settings.
      echo '
         <div id="smfFadeScroller" class="windowbg2" style="width: 90%; padding: 2px; color: #000000;"><b>',
Title: Re: news fader font is very low-res in IE
Post by: permutations on July 31, 2005, 12:48:38 PM
Quote from: xenovanis on July 31, 2005, 03:35:09 AM
I had the same problem, this may not be the most elegant solution but it did solve it.

You rock, xenovanis!!

It's extremely elegant and it fixed it. Thank you!!  :D  :D

How in the world did you ever figure this out?
Title: Re: news fader font is very low-res in IE
Post by: slade24 on January 18, 2007, 10:31:39 PM
If you mess with the CSS, it's really the background-color setting that is fixing the issue (look in style.css for windowbg2). You could just as easily put the declaration right in the template:

// Prepare all the javascript settings.
echo '
<div id="smfFadeScroller" style="width: 90%; padding: 2px; background-color: #FFFFFF;">', $context['news_lines'][0], '</div>