Hover, image replace and hotspot
-
I have a static informative image here:
https://threeprayers.com/the-game-plan/
I want to give it some hover state changes and url hotspots, so that it works much like the menu for the website.The website menu is one sprite containing two images for the button-states. The position for the sprite is changed on hover in order to display the second state. So . . .
1. I know how to create a two state sprite.
2. create a css class.
3. shift background positions for an image in a display block.However, in a website menu the buttons are in a neat rows or columns.
A. How on Earth does one position “buttons” in a random fashion,
B. AND, in the middle of a existing image or background image?I’ve tried cutting the image into parts, then using an html table.
Good God, but wordpress and html are no good at table.
I’m ashamed to say I could not get it to work.Does anyone have a link to a tutorial, something with some depth.
Hopefully something better than a table because cell dimensions are
difficult to control.Warmest
Em
- The topic ‘Hover, image replace and hotspot’ is closed to new replies.