Hi,
Please help! The following set of methods crash Opera((
You can try it here: Astana Translations Group, http://interpret.astana-translation.ath.cx
any help is much appreciatedCode:function do1() { var http = dohttp(); // gets xmlhttp object http.open("GET", "file.xml", false); // making it synced as some browsers don't get everything when asynced http.onreadystatechange = function() { if(http.readyState == 4 && (http.status == 200 || http.status == 304)) { window.parent.frames.mheader.document.write(http.responseText); do2(); // next request } } http.send(); } function do2() { var http = dohttp(); // everything is the same as above only the target frame is different http.open("GET", "file2.xml", false); http.onreadystatechange = function() { if(http.readyState == 4 && (http.status == 200 || http.status == 304)) { window.parent.frames.mbodydocument.write(http.responseText); do3(); // next one } } http.send(); // CRASH!!! }


((
Reply With Quote

Bookmarks