Sounds like an onload conflict. In motiongallery.js, using a text only editor like NotePad, change this highlighted line near to the end of the script:
Code:
creatediv();
positiondiv();
}
if (document.body.filters)
onresize()
}
window.onload=fillup;
onresize=function(){
if (typeof motioncontainer!=='undefined'&&motioncontainer.filters){
motioncontainer.style.width="0";
motioncontainer.style.width="";
motioncontainer.style.width=Math.min(motioncontainer.offsetWidth, maxwidth)+'px';
}
menuwidth=crossmain.offsetWidth;
cross_scroll.style.left=startpos? (menuwidth-actualwidth)/startpos+'px' : 0;
}
so that the code reads like so:
Code:
creatediv();
positiondiv();
}
if (document.body.filters)
onresize()
}
if (window.addEventListener){
window.addEventListener('load', fillup, false);
}
else if (window.attachEvent){
window.attachEvent('onload', fillup);
}
onresize=function(){
if (typeof motioncontainer!=='undefined'&&motioncontainer.filters){
motioncontainer.style.width="0";
motioncontainer.style.width="";
motioncontainer.style.width=Math.min(motioncontainer.offsetWidth, maxwidth)+'px';
}
menuwidth=crossmain.offsetWidth;
cross_scroll.style.left=startpos? (menuwidth-actualwidth)/startpos+'px' : 0;
}
The browser cache may need to be cleared and/or the page refreshed to see changes.
There may still be other problems. If you want more help:
Please post a link to a page on your site that contains the problematic code so we can check it out.
Bookmarks