Darn that IE, always has to be different. A call to onresize(); in the script works just fine but, as an onclick event doesn't. There is an easy enough way around it though. Change this in the script:
Code:
onresize=function(){
to:
Code:
function cresize(){
and below that function, put this (red):
Code:
function cresize(){
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;
}
onresize=cresize;
Now you can use this:
Code:
<span onclick="startpos=0;cresize();">Jump to Beginning</span>
and similar to do this for all browsers that support the gallery.
Bookmarks