Subscribe
yuix.org

Web Development Blog by Serdar AKARCA

  • Home
  • About

YUI Selector IE8 Bug and Solution

November 9, 2009 – 5:26 am

We used YUI 2.5.2 version for a long time on markafoni.com. With the new face of markafoni I decided to update YUI version. I updated YUI to 2.8rc version, but surprisingly I saw javascript errors in all IE8 pages. After googling I found the solution. The problem is was here in selector.js (or selector-min.js):

if(YAHOO.env.ua.ie && YAHOO.env.ua.ie<8)

Change to:

if(YAHOO.env.ua.ie && ((!document.documentMode && YAHOO.env.ua.ie<8) || document.documentMode < 8))

Post a Comment

  • Pages

    • About
  • Archives

    • February 2010
    • November 2009
    • October 2009
    • July 2009
    • May 2009
    • September 2008
  • Blogroll

    • Codeigniter
    • YUI
  • Recent Posts

    • Free Virtualization Solutions
    • YUI’ye Başlangıç: YUI Nasıl Kullanılır?
    • Ubuntu 9.10 ve Vodafone 3G Modem: Huawei E620
    • IE7 Bug: On window resize relative positioned elements disappear
    • YUI Selector IE8 Bug and Solution
  • Tags

    codeigniter portfolio random colors recursive methods yui yui 3
  • Categories

    • codeigniter
    • css
    • hosting
    • javascript
    • linux
    • portfolio
    • ubuntu
    • Web Development
    • yui
  • Recent Comments

    • Yasin Meydan on ProcessingJs ve HTML5 Canvas
    • admin on My Portfolio
    • michele on My Portfolio
    • hussein on YUI 3 experimental example
Web Development Blog by Serdar AKARCA is proudly powered by WordPress Entries (RSS) and Comments (RSS).

some rights are sometimes reserved by someone