Jump to content

IE Problem (Background picture is reloaded when i click other menu)


m4g1c14n

Recommended Posts

To get a better hold of the situation please go tohttp://test.ikt-indonesia.com/ajax.htmlIf you open that URL on Mozilla and Safari, NO PROBLEM OccuredQuestion No 1try open that URL with IE6, after all the page is loaded, try click "ABOUT" Menuyou will see that IE Try to reload the background AND the logo again!the logo and background is loaded by 1 function into BK-Container and LOGO DIVand i do not load anything anymore at anytime into that DIVI load all the Content into Content DIVwhy it reload the WHOLE Background , LOGO in IE? and here is the tricky part, why is that after it reload the Background and Logo, you cant have anymore error when clicking other menu?, (well you still can get a reload but it is totally random) o.o;for this problem i dont even know how to search for any solution in google, i dont know what to type, it so bizarre!!Question No 2Why PNG Transparancy works with others but not with IE?yes i have tried some example when i google PNG in IE, but none of it seems to work for me, if anyone know any solution out there that really works please let me know where i can find such solution (URL)Before and after, thanks a lot for your help.Cheers and God Bless,Chowi

Link to comment
Share on other sites

For question #2. Apparently in IE6 if your image uses a pallet greater than 256 colors then it will render transparency as opaque.Read this:http://www.pcmag.com/article2/0,2704,1645331,00.aspWhich also includes this all-in-one IE6 kludge.http://homepage.ntlworld.com/bobosola/index.htmHope that helps.

Link to comment
Share on other sites

Thanks Mr. Cool Guy :)for Question #1, lets make it simpleLets sayTargetCSS.style.background = "transparent url(ProductEngine/GetWeb.php?Type=" + Target + ") no-repeat" ;it will load a picture from url "ProductEngine/GetWeb.php?Type=XXX"now, what can make the INTERNET EXPLORER Browser, to reload that picture from that URL?well i know the first answer1. you can make the browser reload the picture by issuing "TargetCSS.style.background = "transparent url(ProductEngine/GetWeb.php?Type=" + Target + ") no-repeat" ;" againwell that one was easy.. now for my problem, that Background loading command is called ONLY ONCE, yes i have tried puting some "alert("Load Background");" and yes it is only once..but in Internet Explorer Browser, after you open http://test.ikt-indonesia.com/ajax.html , and after all data loaded, when you click "ABOUT Menu" it will reload the Background... why ?(It is not like this at Firefox and Safari)Before and After, thanks a lot.Cheers and God Bless,Chowi

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...