Hi Benmarte,
I had to move the website on a online server and fixed that refresh issue only on the live site (and now on the development one).
Your "bug" probably had to do with caching the page, FF and IE where oké. Now there are no problems except the centering?
It was almost centered because it does work when i say leftScroll = 500 then the map starts at left:500px; but I can't absolute center because I don't know browserwidth, so 500px is about center to many screens but not all.
I removed the left and top position again to test your script again, [the overscroll is only on the homepage]
I'm gone retry your script again right now, if I really can't fix it, if you don't mind, I can give you login.
##################
I can't get it to work, your script works but doesn't work into the overscroll script.
When I add a div arround overscroll it doesnt work, and giving the map img an id and your script directed to that I see the style being left being calculated but that doesn't do the center. (only need left / right center)
I really think it has to be set into the overscroll script, somewhere the leftScroll = is set in overscroll.js, with my rookie skills with js I think about line 490 lol.
When I look into the source the overscroll scripts sets the #overscroll div:
left: 0px; top: 0px; position: relative; overflow: hidden; cursor: -moz-grab; so that has to be changed, your script need to overrule it.
Dunno if you understand what im talking about

X
In FF i see this is being add to the source:
img id="test" src="/assets/templates/spring/img/kaart-wide.gif" style = "left: -578.5px;
[ed. note: fourroses666 last edited this post 13 years, 11 months ago.]