Vote count: 0
i need in this code swap (change) image in img tag after hover and click. Im not good in javascript so i need help. If some image is active (clicked) and I click on next image in menu so other images must be change to default. Sorry for my english.
<ul id="ourteam">
<li><a data-target="#user1" class="active"><img src="/img/avatars/avatar1.png" data-other-src="/img/avatars/avatar1h.png" /></a></li>
<li><a data-target="#user2"><img src="/img/avatars/avatar_t.png" /></a></li>
<li><a data-target="#user3"><img src="/img/avatars/avatar3.png" data-other-src="/img/avatars/avatar3h.png" /></a></li>
<li><a data-target="#user4"><img src="/img/avatars/avatar4.png" data-other-src="/img/avatars/avatar4h.png" /></a></li>
</ul>
asked 1 min ago
This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at http://ift.tt/jcXqJW.
change images in menu
Aucun commentaire:
Enregistrer un commentaire