javascript for slides when mousing over text


In this article:

I want to have a section where I have 10 phrases on the left hand side of the screen (one line per phrase) and on the right I want a corresponding picture to pop up that matches the phrase that is being moused over.

Elements of this:

1. low file size. This article already has lots of images.
2. Classy - It needs to look as nice as possible.
3. Friendly to all modern browsers

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

What have you got so far that isn't working?
weikelbobAuthor Commented:
I'm starting from scratch. I haven't done javascript for 5 years. Perhaps there is a tutorial that would cover what I want. If I remember right, it's going to be fairly easy.
You don't need scripting.

If you have a structure like:

<div class="holder">
   Some text
   <img src="someimage.png />
then CSS:
.holder {position:relative; width:200px;>
.holder img {display:none;}
.holder:hover img {display:block;position:absolute;left:250px;z-index:10;}

Then it should get you pretty close.

You can see something similar for the lop menu and side bar menu on my home page

Though on my page I use transition for the display.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
weikelbobAuthor Commented:
Woa much easier, thanks Cd&, let me give that a shot.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.