http://jimpix.co.uk/default-ajax1.asp
When viewed in IE6, only the wallppaper ajax section (which is 1 of 4 ajax sections, along with ecards / news / photo ecards and wallpapers), loads.
But in Firefox, they all load, when first loading the page.
I am using this method to load all of the functions on first loading the page:
http://www.netlobo.com/wom.html
My javascript functions are at the bottom of the page. Could the problem be to do with my first function - since this issue seems to be browser specific.
Thanks
Expand|Select|Wrap|Line Numbers
- function GetXmlHttpObject() {
- var xmlhttp;
- if (window.XMLHttpRequest) { // Mozilla, Safari, Opera...
- xmlhttp = new XMLHttpRequest();
- //if (xmlhttp.overrideMimeType) xmlhttp.overrideMimeType('text/xml');
- } else if (window.ActiveXObject) { // IE
- try {
- xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
- } catch (e) {
- try {
- xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
- } catch (e) {}
- }
- }
- if (!xmlhttp) {
- alert('Cannot create an XMLHTTP instance');
- return false;
- }
- return xmlhttp;
- }
- var http = GetXmlHttpObject();