JAVASCRIPT help needed.

admin

Administrator
Staff member
function domouseover() {
if(document.all){
var srcElement = event.srcElement;
if ((srcElement.tagName == "A" && autoFade) || srcElement.className == "fade" || (sloppyClass && srcElement.className.indexOf("fade") != -1))
fade(startColor,endColor,srcElement.uniqueID,stepIn);
}
}


I have bolded the code in question. I need to know not only how to look for all <A> tags but also what's in those <A> tags. The code above works for all <A> tags but I want it to work for only ones that I specify by putting "onmouseover='domouseover()'" inside the <A> tag. Can someone help? Thanks, Jeremy
 
Top