WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Tab Pane, Erik Willemse, April 26, 2004
     Re:Tab Pane , Erik Willemse, June 3, 2004
         Re:Tab Pane , Erik Arvidsson, June 4, 2004
     Re:Tab Pane, Erik Arvidsson, May 1, 2004
         Re:Tab Pane , taro, June 3, 2004
             Re:Tab Pane , Ralph, July 22, 2004
         Re:Tab Pane, Erik Willemse, May 25, 2004
             Re:Tab Pane, Erik Willemse, May 26, 2004

Subject: Re:Tab Pane From: taro Date: June 3, 2004

it seem cause of 60 ~ 68 line in the source of tabpane.js (v 1.02)
I guess IE55 doesn't allow peope to overwrite any standard interface like document.getElementsByTagName....

I modified the code like below, and work fine

line 60~68
  /*
 if ( ie55 ) {  
  document._getElementsByTagName = document.getElementsByTagName;
  document.getElementsByTagName = function ( sTagName ) {
   if ( sTagName == "*" )
    return document.all;
   else
    return document._getElementsByTagName( sTagName );
  };
 }*/

  // will cause bug when ie55 patched, so rewrite above
  if ( ie55 ) {  
    document._getAllElements = function () {
      return document.all;
    }
  } else {
    document._getAllElements = function () {
      return document.getElementsByTagName("*");
    }   
  }

line 292 
//var all = document.getElementsByTagName( "*" );
  // will cause bug when ie55 patched , so rewrite above
  var all = document._getAllElements();




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX