I have programmed a drag and drop script which swaps among sixteen 
pngs (with transparency) as the user drags a scroll bar. The pngs are in a 
table cell with a background color specified. The heart of the JavaScript
which swaps the images is:

var d = document.getElementById('house');

if(curVertPos <= 12){
d.src = image1;
}else if(curVertPos <= 24){
d.src = image2;
}else if(curVertPos <= 36){
d.src = image3;

..etc

The code works flawlessly in IE5, and the JavaScript runs without error in 
NS6, but as the images change from one to the next, there is a time gap 
when the background color of the table cell flickers into view. And, yes, the 
images are preloaded.

Do any of you have any experience with or solution to this Netscape 6 
flicker?

Thanks much.

fantauzza
[EMAIL PROTECTED]

Reply via email to