Fri, 17 May 2024


How to create a simple image rollover with JavaScript?

By: Peter, NetArt Media
Mon, 5 July 2021

<img
src="cb1.gif"
name="image1"
onmouseover = "document.image1.src = 'cb0.gif';"
onmouseout = "document.image1.src = 'cb1.gif';"
>


Category: Javascript
Share this post:



See All Scripts






Subscribe for our newsletter

Receive the latest blog posts direct in your mailbox