无标题文档 var highlightcolor='#eafcd5';//此处clickcolor只能用win系统颜色代码才能成功,如果用#xxxxxx的代码就不行,还没搞清楚为什么:(var clickcolor='#51b2f6';function changeto(event){ source=event.srcElement || event.target; if (source.tagName=="TR"||source.tagName=="TABLE") return; while(source.tagName!="TD") source=source.parentElement; //alert(source); source=source.parentElement; cs = source.children; //alert(cs); //alert(cs.length); if (cs[1].style.backgroundColor!=highlightcolor&&source.id!="nc"&&cs[1].style.backgroundColor!=clickcolor) for(i=0;i选择
查看更多关于《实现选中高亮,在火狐上不兼容的问题,请高手指教》_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did103791
《实现选中高亮,在火狐上不兼容的问题,请高手指教》_html/css_WEB-ITnose
阅读:33次