W
windandwaves
Hi Gurus
I am trying to make this rather complicated maps with an a huge number of mouseovers and the like.
I want to set up a function that OnMouseDown swaps the OnMouseOver and OnMouseOut for the same element.
E.g.
<A HREF="#"
OnMouseOver="A(); return true"
OnMouseOut"B(); return true;"
OnMouseDown="S(); return false;"
where...
function S () {
'swap onMouseOver with OnMouseOut.....
}
I would prefer not to work with IDs (as there are just so many A HREFs) but maybe with something like "me" or "this" if that exists.
Then, to make it all more complicated, I need to be able to read which areas received a swap....
For your information, the OnMouseOver and OnMouseOut swap images (highlights part of the map).
TIA
- Nicolaas
I am trying to make this rather complicated maps with an a huge number of mouseovers and the like.
I want to set up a function that OnMouseDown swaps the OnMouseOver and OnMouseOut for the same element.
E.g.
<A HREF="#"
OnMouseOver="A(); return true"
OnMouseOut"B(); return true;"
OnMouseDown="S(); return false;"
where...
function S () {
'swap onMouseOver with OnMouseOut.....
}
I would prefer not to work with IDs (as there are just so many A HREFs) but maybe with something like "me" or "this" if that exists.
Then, to make it all more complicated, I need to be able to read which areas received a swap....
For your information, the OnMouseOver and OnMouseOut swap images (highlights part of the map).
TIA
- Nicolaas