Hi, I'm working on the following code for a google gadget [ view gadget ]. It is kind of neat the way it is, but the question I've got may be obvious, regarding the mouseover function. It needs to break on mouseout. I guess it will need a loop. Any help is appreciated.
function mouseOver() {
var t = setTimeout("document.b1.src='yellow_green.gif'", 300)
t = setTimeout("document.b1.src='red_green.gif'", 2700)
}
function mouseOut() {
var t = setTimeout("document.b1.src='green_green.gif'", 300)
}