Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

firing an onMouseOver event

Status
Not open for further replies.

link9

Programmer
Nov 28, 2000
3,387
US
without someone actually putting their mouseover something --

Someone suggested to me to use .mouseover()

Can anyone confirm or deny the existence of that function, and if it's a denial, can you tell me what the command is to simulate this?

and if it's not too much trouble, maybe you can tell me the opposite one for mouseout(); --

thx
paul prewett
 
you should read the "event handling" faqs ... if there is a way to do what you want to, i think it is described in these faqs
 
link9,

I just found one way to do that and it works both in IE and NS :

if (event.type == 'mouseover') {
alert('This is a mouseover');
} else if (event.type == 'mouseout') {
alert('This is a mouseout');
}

Hope this helps ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top