1

I would like to know if there is a way that jquery or some other technology can listen for event X and then simulate a different event somewhere else.

The situation I have right now is that I have an image with an image map, and if the user hovers over a mapped area of the image map I want a related part of the content to change states ( in this case activate the hover state ).

1 Answer 1

6
$("#element").hover(function(){
  //style some element(s) or do stuff.
});

Keeping in mind all your content is client-side, otherwise make an AJAX request and assign accordingly.

Sign up to request clarification or add additional context in comments.

1 Comment

Do you mean all your content must be on the client side ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.