SoFunction
Updated on 2025-04-10

A bug handled by Firefox on childNodes on tab function


function tabit(btn)
  {
    var idname = new String();
    var s = ("_");
    var e = ("_")+1;
    var tabName = (0, s);
    var id = parseInt((e, 1));
var tabNumber = ;    //The values ​​of IE and FF are different
    for(i=0;i<tabNumber;i++)
      {
if((tabName+"_div_"+i)!=null)    //The judgment needs to be made here
          {
        (tabName+"_div_"+i). = "none";
        (tabName+"_btn_"+i). = "url(pic/)";
        (tabName+"_btn_"+i). = "#D7F2DA";
        (tabName+"_btn_"+i). = "pointer";
        }
    }
    (tabName+"_div_"+id). = "block";
     = "#fff";
     = "#fff";
     = "default";
}