CoreFiles by mySites.guru
ja.cssmenu.js21 lines, 578 bytes, from Joomla_1.5.21-Stable-Full_Package.zip
Raw History Compare with 1.5.20
md5
26918d3369c4aaa24bc66ed170e68b37
sha1
7cd1b24d352dbc02fb948101e8298c1b3943204b
sha256
b2645ba5941fe434e86b199de5cd65aa30a7fd96806515c9605a13f96ff37190

sfHover = function() {
	var sfEls = document.getElementById("ja-mainnav").getElementsByTagName("li");
	for (var i=0; i<sfEls.length; ++i) {
		sfEls[i].onmouseover=function() {
			clearTimeout(this.timer);
			if(this.className.indexOf(" sfhover") == -1)
				this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.timer = setTimeout(sfHoverOut.bind(this), 20);
		}
	}
}

function sfHoverOut() {
	clearTimeout(this.timer);
	this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
}

if (window.attachEvent) window.attachEvent("onload", sfHover);

The same content is in 23 releases, Joomla 1.5.4 to 1.5.26. See them all, or every version of this file.