I am doing an application which the user receive a list of items to choose, when the user moves the mouse a DIV:Hover class works backgrounding the color of the div, and when he clicks at one div to select it an ONCLICK function marks the clicked div and redirect to a website( _blank ), perfect, but when you go back to this page there is two div selected, the div user has clicked and another one , if the user moves the mouse, even if a little the second div backs to normal.
What i want is go back to page and only the div clicked is marked.
It only happens at Google Chrome
Jsfiddle ----> http://ift.tt/1WnA26Q
Print Screen --> http://ift.tt/1WnA52g
Is it possible to solve and do not marks a second DIV ?
If I do not redirect to a website, it work normally, but i need to redirect =(
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire