Jump to content

is mouse on item


The Little Guy

Recommended Posts

I should state that their is an onclick, then it triggers one function then in that function it triggers another function which I want to do the check in.

 

Page:

http://www.nawdog.com/view.php?id=2

 

if you click on the koala and move your mouse to the logo, the border stays green around the image  after the larger image is created (which I don't want).

if you click and keep your mouse on the koala, and after the larger image appears and you move your mouse off the image, the border goes away.

Link to comment
Share on other sites

Your description is a little confusing. But, I *think* what you are wanting is a way to determine if the mouse is over an image after a function is triggered after an onclick event. If so, you just need to create a global variable to store the state of the mouse over the image. Then, when the function is triggered you can check that variable.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.