I have a dataview template below:
<div id='dataview'>
<div id='value'>#Value#</div>
<div id='xurla'><a class='pop' href='#URL_link_a#' ' target='blank''><img src='img/urla.png' class='linkimg' title='#URL_link_a#'></a></div>
<div id='xurlb'><a class='pop' href='#URL_link_b#' ' target='blank''><img src='img/urlb.png' class='linkimg' title='#URL_link_b#'></a></div>
</div>
I want to perform an action when the user hover’s over the URL Link Image (urla.png) and another action when user hover’s over the other image (urlb.png)
I tried to use the mousemove event…
data.attachEvent("onMouseMove", function (id, ev, html){
// my code here
})
but i want to fire it ONLY when i am hovering on the specific URL Link images (NOT the whole data item). How can i do this?
I have used the data.on_click successfully for a div within the dataview.
But what similar option do i have for mouse over?
Thanks.