Discussion Locked

Javascript help needed

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm trying to implement the 'rollover highlights' trick demonstrated here:
http://builder.cnet.com/webbuilding/0-7690-8-7819976-1.html

one my own page here:
http://www.arches.uga.edu/~jennat/cheapdate/port.html

I've faithfully copied and pasted the code like a good Javascript thief, and for some reason it refuses to work for me. Any ideas?

Thanks, Jenna

7 replies

by madestroitsolutions

Well, I went to see the trick (which is no trick at all), and then went to your page. I cant find it anywhere there. In any event, This is a simple rollover that any of todays programs like fireworks and some others can do for you. It is simply changing the image src attribute with the address of another picture, which happens to be the same picture, edited with highlighting on a specific area, saved under a different file name. So Whats the problem?

by ryan_j

This is a straight copy/paste of the a very simple way of achieving the effect you wanted.
I didn't actually check the source to the original site, so i may have just re-hashed what they used.

Natrually, the formatting will be destroyed, so you'll need to search for any rougue spaces or %20s when you paste. The styles are defines in CSS in the head of the doc, and are very simple to understand, so the whole thing shouldn't present much of a problem.

you need six images named link_ico#.bmp with # being the numbers 1 to 6 (one is the onmouseout image. Btw, when i went to check your site it seemed to be down.

Code below, since it went over the word limit ;)

Good luck!

This discussion is closed to new replies.