[thelist] javascript multiple events

Christian Heilmann codepo8 at gmail.com
Tue Jul 10 10:12:17 CDT 2007

> Hello,
> I am still trying to figure out the best way to code an effect I am trying
> to achieve with JavaScript. I will have a table with three table cells. The
> middle cell will have a menu with rollover effects. This part, I am familiar
> with, but I also want synchronous events in the left and right cells. In the
> left cell, I want a picture that changes when you rollover a related menu
> item in the center cell, and in the right cell, some associative text will
> display.
> Can anyone point me in the right direction for this? I did some googling,
> but didn't find exactly what I needed. I am by no means an expert in JS, so
> might need some assistance as to the basics as to how this can be
> accomplished. I assume it would involve giving each td an id, and then a
> getElementbyID call or something...

A URL would say so much more. Personally I'd use a nested list for
this and position the text and the image with negative margins. I can
do a quick prototype of this,

Chris Heilmann
Book: http://www.beginningjavascript.com
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/

More information about the thelist mailing list