From: David C. <dle...@ya...> - 2001-02-22 16:08:26
|
Greetings, regarding the delay of the onmouseout in buttonimage (does not fire till the second mouseover): I traced the problem back to the code where it changes the .src of the image. The image for the button is set with a setHTML call and is named. The program code then uses the name to change the source (.src). If the code is given a setTimeout and then the images are swapped in the initial setup, it works normally. It seems to be hanging when the following code is executed the first time: ButtonImage.prototype.change = function(img) { if (img) this.doc.images[this.id+"Image"].src = img.src; }; Is this a problem with the setHTML method, the dynimage code or a problem with the images array in NN6? Anybody have any ideas? Cheers, Dave C. "You Changed What?!?" __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/ |