/*
change image on mouseover and click
*/
function mEvent(id,img1,img2,img3) {
var i = new String();
i = document.images[id].src;
document.images[id].src = i.replace(img2,img1);
//for click condition
if(document.images[id].src.indexOf(img3)!=-1)
document.images[id].src = i.replace(img3,img1);
}
3 Responses to Change Images
Leave a Reply
You must be logged in to post a comment.
I was just browsing every now and then along with to read this post. I have to admit that i’m inside the hand of luck today or maybe getting such an excellent post to learn to read wouldn’t happen to be achievable to me, no less than. Really appreciate your articles.
I must say i loved this post. You describe this topic perfectly. When hiring home contractors it is answer to select a trusted name in construction. Experienced and efficient staff should shoot for excellence and pay close attention to every detail of your property.
You completed several good points there. I did looking on the issue and located virtually all people should go in addition to with all your blog.