Results 1 to 1 of 1

Thread: IE6 Ajax bug

  1. #1
    Join Date
    Dec 2007
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default IE6 Ajax bug

    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..

    Code:
    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;
    }
    Last edited by SteeleR; 01-27-2008 at 09:35 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •