Ignore:
Timestamp:
Nov 17, 2005, 9:13:36 PM (19 years ago)
Author:
chrisaga
Message:

bug 206 fixed: PNG thumbnails clipped with IE

  • added class="icon" to recent.png (functions_html.inc.php)
  • added class="button" to al png button images (*.tpl)
  • changed pngfix.js to only fix icon or button images

template improvement: category prettier and simpler (a little bit)

  • got rid of one SPAN level
  • content.css more readable
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_5/include/pngfix.js

    r905 r939  
    77   for(var i=0; i<document.images.length; i++)
    88      {
    9           var img = document.images[i]
     9      var img = document.images[i]
     10      if (img.className == "button" || img.className == "icon")
     11          {
    1012          var imgName = img.src.toUpperCase()
    1113          if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
     
    2527                 i = i-1
    2628             }
     29          }
    2730      }
    2831   }
Note: See TracChangeset for help on using the changeset viewer.