Old School Rollover image
-
I have two images, one is my “up” state and one is my “down” state. I’d like to insert the Up image into my page and have it as a link. When a user hovers their mouse over it, it switches to the Down image instead.
A very basic rollover image link like the ones we used to use with a bit of javascript 20 years ago.
I’ve managed to get an image to change on rollover by creating a div and setting a background image which switches on rollover using CSS, but I could make it into a link without putting some text over the top.
Is there a way of creating a basic rollover image in WordPress which is also a link?
I’ve tried various fancy plugins, but haven’t been able to find one to do something as basic as this.
- The topic ‘Old School Rollover image’ is closed to new replies.