Need help with image and text swap with rollover effect

T

twst3d

Thanks in advance. Not very well versed in javascript but I'm pretty
good at piecing together code that works.

I am creating a page that has will have definitions on one side and a
blank area below and to the right. What I want to happen is for the
words to be highlighted on rollover but then I want the definition of
the word plus an image to appear on click.

I have a semi functional version working now at
http://www.vaskin.com/NewSite/relaxationtherapy.htm. However, I have
noticed that the code is getting ridiculous and redundant and I want
to streamline it with an external sheet if possible.

Currently I am using the <div> command and making the elements appear
and disappear at random but it is getting out of hand with all of the
words and definitions. Any help to streamline this would be greatly
appreciated as I can't seem to find anybody else who is doing the same
thing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top