web/wp-content/themes/IRI-Theme/js/dhtml.js
author hurons@caf4f556-3d62-0410-8435-a86758001935
Tue, 05 Jan 2010 09:59:49 +0000
branchwordpress
changeset 112 fb7cd02b9848
parent 109 03b0d1493584
permissions -rw-r--r--
clean all inactive plugin in the plugin rep

navHover = function() {
	var lis = document.getElementById("navmenu-h").getElementsByTagName("LI");
	for (var i=0; i<lis.length; i++) {
		lis[i].onmouseover=function() {
			this.className+=" iehover";
		}
		lis[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", navHover);