Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to clear selected items on click of other area #60

Open
DesigningStudios opened this issue Aug 19, 2015 · 2 comments
Open

How to clear selected items on click of other area #60

DesigningStudios opened this issue Aug 19, 2015 · 2 comments

Comments

@DesigningStudios
Copy link

Here is the link to download zip: http://bit.ly/1PlqGmJ (POC i created)

Issue: On click i am highlighting selected map area. if i click on other map area, script should remove previously selected map area and show for the present clicked map area.

@amnewone
Copy link

anyone came up with the solution?

@stevenhalase
Copy link

$('area').each(function() { var data = $(this).mouseout().data('maphilight') || {}; data.alwaysOn = false; $(this).data('maphilight', data) });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants