OSX, Mac IE: iframes

Out of context: Reply #3

  • Started
  • Last post
  • 6 Responses
  • ********
    0

    I was allowed to use this one from the folks over at K10K...In hope MSchmidt don't mind me posting it here:

    // FIXES THE OS X IFRAME DISPLAY PROBLEMS
    // Notes: Only needed for IE5/mac under OS X

    function fix_OSX_IE_DisplayBug() {
    if ((Macintosh) && (browserName == 'IE') && (browserNew)) {
    try {
    objBody = document.getElementsByTagName("b...
    for (i=0; i < objBody.length; i++) {
    objBody[i].style.visibility = "hidden";
    objBody[i].style.visibility = "visible";
    }
    }
    catch(error) {
    // ignore error
    }
    }
    }

View thread