PDA

View Full Version : onClick Highlight



esmith972
10-09-2007, 01:24 PM
Mantra: I would like to make an onClick highlight for a list of videos, but after you select another, the last video you chose is un-highlighted and the selected one is highlighted.

I found this, but it only highlights and stays on.

function highlight(which,color){
if (document.all||document.getElementById)
which.style.backgroundColor=color
}

Any ideas?

jscheuer1
10-10-2007, 05:58 AM
Have a look at this:

http://home.comcast.net/~jscheuer1/side/myroll/