D
daveyand
Is there a way in javascript to trigger the clicking of the left mouse
button.
Basically i have a floating div that is translucent (40% opacity) this
div covers the whole screen. when a user clicks on this div it
disappears. What i would like is if the mouse happens to be over a
link then that link should trigger.
I imagine i can do a long way which'll involve where is the mouse now,
what anchor is there, if its a link then set the location to this href.
But that seems like alot of work, can i not just simulate a click of
where the mouse is?
Hope people understand what i mean.
Andy
button.
Basically i have a floating div that is translucent (40% opacity) this
div covers the whole screen. when a user clicks on this div it
disappears. What i would like is if the mouse happens to be over a
link then that link should trigger.
I imagine i can do a long way which'll involve where is the mouse now,
what anchor is there, if its a link then set the location to this href.
But that seems like alot of work, can i not just simulate a click of
where the mouse is?
Hope people understand what i mean.
Andy