PDA

View Full Version : IE6 Ajax bug



SteeleR
01-27-2008, 09:27 PM
http://89.215.52.231/templates/44/

when you select аn image it should show it in the right.. but in IE6 sometimes it doesn't, sometimes it do..



function selectFile(e, iPath, dPath) {
//Highlights the selected file and sets the thumbnail to the selected image
if (typeof last != "undefined") { last.style.backgroundColor = "#FFFFFF"; }
e.style.backgroundColor = "#7A73FF";
last = e;

if (iPath != "-1")
{
document.getElementById("sImage").src = iPath;
document.getElementById("uImage").src = iPath;
}
document.getElementById("path").value = dPath;
}