摘要:
//onmouseover onmouseout bugfunction contains(parentNode, childNode) { if (parentNode.contains) { return parentNode != childNode && parentNode.contains(childNode); } else { return !!(parentNode.compareDocumentPosition(childNode) & 16); }}function checkHover(e,target){ ... 阅读全文