when I load my page, some of the photo galleries are blank in IE 7 & IE 8. They all come through in firefox. I have 10 galleries on one page. I believe it timesout before all the image galleries can be loaded successfully.
this is the javascript error I get in IE:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; MDDS; InfoPath.2; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Fri, 28 May 2010 16:18:03 UTC
Message: Invalid argument.
at function(){
for(var vn=this.dng_container;vn&&vn.style;vn=vn.parentNode)
if(IsNotVisible(vn))
return setTimeout(initfunc,100);
this.DrawUI();
var photos=[];
for(var i=0;i<this._categories.length;i++)
{
photos=photos.concat(this._categories[i].Photos);
}
if(photos.length>0)
{
this.TogglePlay();
this.ShowPhoto(photos[0]);
}
var thisAdjustLayout=ToDelegate(this,this.AdjustLayout);
function onwindowresize()
{
//need adjust twice..
thisAdjustLayout();
setTimeout(thisAdjustLayout,100);
}
if(window.attachEvent)
{
window.attachEvent("onresize",onwindowresize);
document.attachEvent("onkeydown",ToDelegate(this,this.HandleKeyDown));
}
else
{
window.addEventListener("resize",onwindowresize,false);
document.addEventListener("keydown",ToDelegate(this,this.HandleKeyDown),false);
}
this.AdjustLayout();
}
Line: 1
Char: 3053
Code: 0
URI: http://dev-chase/CuteSoft_Client/Gallery/Core/GalleryLibrary.js
Message: Invalid argument.
at function(){
for(var vn=this.dng_container;vn&&vn.style;vn=vn.parentNode)
if(IsNotVisible(vn))
return setTimeout(initfunc,100);
this.DrawUI();
var photos=[];
for(var i=0;i<this._categories.length;i++)
{
photos=photos.concat(this._categories[i].Photos);
}
if(photos.length>0)
{
this.TogglePlay();
this.ShowPhoto(photos[0]);
}
var thisAdjustLayout=ToDelegate(this,this.AdjustLayout);
function onwindowresize()
{
//need adjust twice..
thisAdjustLayout();
setTimeout(thisAdjustLayout,100);
}
if(window.attachEvent)
{
window.attachEvent("onresize",onwindowresize);
document.attachEvent("onkeydown",ToDelegate(this,this.HandleKeyDown));
}
else
{
window.addEventListener("resize",onwindowresize,false);
document.addEventListener("keydown",ToDelegate(this,this.HandleKeyDown),false);
}
this.AdjustLayout();
}
Line: 1
Char: 3053
Code: 0
URI: http://dev-chase/CuteSoft_Client/Gallery/Core/GalleryLibrary.js
Message: Invalid argument.
at function(){
for(var vn=this.dng_container;vn&&vn.style;vn=vn.parentNode)
if(IsNotVisible(vn))
return setTimeout(initfunc,100);
this.DrawUI();
var photos=[];
for(var i=0;i<this._categories.length;i++)
{
photos=photos.concat(this._categories[i].Photos);
}
if(photos.length>0)
{
this.TogglePlay();
this.ShowPhoto(photos[0]);
}
var thisAdjustLayout=ToDelegate(this,this.AdjustLayout);
function onwindowresize()
{
//need adjust twice..
thisAdjustLayout();
setTimeout(thisAdjustLayout,100);
}
if(window.attachEvent)
{
window.attachEvent("onresize",onwindowresize);
document.attachEvent("onkeydown",ToDelegate(this,this.HandleKeyDown));
}
else
{
window.addEventListener("resize",onwindowresize,false);
document.addEventListener("keydown",ToDelegate(this,this.HandleKeyDown),false);
}
this.AdjustLayout();
}
Line: 1
Char: 3053
Code: 0
URI: http://dev-chase/CuteSoft_Client/Gallery/Core/GalleryLibrary.js