V
violinandviola
I have just put 4 different ajax bits on this page:
http://jimpix.co.uk/default-ajax.asp
The ajax spits out chunks of images / news content, and users can view
the chunks via next / prev links.
When I first view the page in Firefox, there is a short delay while
the content first loads in the ajax sections.
When I first view the page in IE6, none of the ajax content appears to
start with. It only appears if I click a 'next' link.
Initially the body tag contained this, to fire off the 4 relevant
functions:
<body id="root" onload="sendRequest(MyCurrentVar + ',' +
MyCurrentCat); sendPhotoRequest(MyPhotoVar);
sendNewsRequest(MyNewsVar); sendWPRequest(MyWPVar)">
I then got rid of that, and used this instead:
window.onload = function()
{
sendRequest(MyCurrentVar + ',' + MyCurrentCat)
sendPhotoRequest(MyPhotoVar)
sendNewsRequest(MyNewsVar)
sendWPRequest(MyWPVar)
}
But I get the same result regardless.
Any advice much appreciated.
Thanks
http://jimpix.co.uk/default-ajax.asp
The ajax spits out chunks of images / news content, and users can view
the chunks via next / prev links.
When I first view the page in Firefox, there is a short delay while
the content first loads in the ajax sections.
When I first view the page in IE6, none of the ajax content appears to
start with. It only appears if I click a 'next' link.
Initially the body tag contained this, to fire off the 4 relevant
functions:
<body id="root" onload="sendRequest(MyCurrentVar + ',' +
MyCurrentCat); sendPhotoRequest(MyPhotoVar);
sendNewsRequest(MyNewsVar); sendWPRequest(MyWPVar)">
I then got rid of that, and used this instead:
window.onload = function()
{
sendRequest(MyCurrentVar + ',' + MyCurrentCat)
sendPhotoRequest(MyPhotoVar)
sendNewsRequest(MyNewsVar)
sendWPRequest(MyWPVar)
}
But I get the same result regardless.
Any advice much appreciated.
Thanks