Hello,
This is somewhat of an easy task in other languages, but for some
reason I can't figure it out in JavaScript.
I have a function "getData( )" The function will be contained in side
of a DIV.
Example:
//<DIV>"javascrip t:document.link 2Watch.onmouseo ver(getData(dat a))</DIV>
//<DIV>"javascrip t:document.link 2Watch.onmouseo ver(getData(oth erData))</DIV>
//<a href="#" name="link2Watc h" onmouseover"">O bject to watch</a>
When someone runs their mouse over a particular link (object) I would
like my function to be executed. The function will be spred throughout
my webpage, so I need to somehow capture the mouseover event.
Does anyone understand? Can anyone help?
Thanks Much....
This is somewhat of an easy task in other languages, but for some
reason I can't figure it out in JavaScript.
I have a function "getData( )" The function will be contained in side
of a DIV.
Example:
//<DIV>"javascrip t:document.link 2Watch.onmouseo ver(getData(dat a))</DIV>
//<DIV>"javascrip t:document.link 2Watch.onmouseo ver(getData(oth erData))</DIV>
//<a href="#" name="link2Watc h" onmouseover"">O bject to watch</a>
When someone runs their mouse over a particular link (object) I would
like my function to be executed. The function will be spred throughout
my webpage, so I need to somehow capture the mouseover event.
Does anyone understand? Can anyone help?
Thanks Much....
Comment