Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
rce09c

Change image based on text hover

Question

I have a client that wants to display a certain image based off whichever text they are hovering over. So we have 3 divs (apartments, lots and townhomes), when they hover over "Apartments" an apartment image would show up on the side. When they hover over "Lots" a lot image will appear in the same position. Also important to note is that there would be a default image in this same position before the user hovers over any of the previously mentioned divs.

Please enlighten me on what I'm missing!

CSS:

HTML:

Apartments

REVISE 9/20 Phasellus sodales massa malesuada tellus fringilla, nec bibendum tellus blandit. Sed a ligula quis sapien lacinia egestas. Vivamus a ante congue, porta nunc nec, hendrerit turpis.

Lots

REVISE 9/20 Phasellus sodales massa malesuada tellus fringilla, nec bibendum tellus blandit. Sed a ligula quis sapien lacinia egestas. Vivamus a ante congue, porta nunc nec, hendrerit turpis.

Townhomes

REVISE 9/20 Phasellus sodales massa malesuada tellus fringilla, nec bibendum tellus blandit. Sed a ligula quis sapien lacinia egestas. Vivamus a ante congue, porta nunc nec, hendrerit turpis.

Edited by rce09c
Initial Revision

Share this post


Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...