Walter Lorenzetti wrote:
> Alle 08:33, venerd? 17 marzo 2006, luca marletta ha scritto:
> Hi list, Hi Armin,
>
> a this moment on our server the situation is:
>
> with firefox theren't problems it's all ok
>
> on IE everytime on a function like zoom + or -, home, back or foward, select
> a
> layer etc.. pmapper show a old map created before
>
> i think that is a problem correlated to cookies management of IE
>
> if someone want to try it:
>
> http://www.faunalia.it/pmapper/pMapper2_inuso/
>
at least that what I find under this url is *not* the latest dev
version. the file pmapper.js contains
function loadMapImg(mapImgSrc) {
// SWAP MAP IMG
var theMapImg = document.getElementById("mapImg");
theMapImg.src = mapImgSrc;
}
whereas in the newer version it should be
function loadMapImg(mapImgSrc) {
// SWAP MAP IMG
var mapimgLayer = document.getElementById("mapimgLayer");
var oldImg = document.getElementById("mapImg");
// Set img src to blank and then remove img object
oldImg.src = "images/blank.gif";
mapimgLayer.removeChild(oldImg);
// Create new img object, add img to parent div, set img src,
var icontainer = document.createElement("img");
mapimgLayer.appendChild(icontainer);
icontainer.id = "mapImg";
icontainer.name = "mapImg";
icontainer.src = mapImgSrc;
//icontainer.style.width = mapW + "px";
//icontainer.style.height = mapH + "px";
icontainer.style.overflow = 'hidden';
icontainer.onmouseover = startUp;
icontainer.onload = resetMapImgParams;
}
best regards
armin
> with last release
>
> http://www.faunalia.it/pmapper/pmapper_07-03-2006/
>
> bye
>
> Walter
>
>