Originally posted by: Description
Not a mouse down event, I need to determine if the mouse is down on a mouse over.
The onMouseDown event is compatible with all tags except applet, base, basefront, bdo, br, font, frame, frameset, head, html, iframe, isindex, meta, param, script, style, title
So, if it was a link -
<a id="link1" onmousedown="foo(this);">something</a>
<script>
function foo(obj)
{
alert(obj.id);
}
</script>
This code will pop an alert box that says "link1" in it, when you click on the link text.
Does this help at all?