Utente:Jalo/vector.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 187:
function showPopup(testo, x, y)
{
popup = document.getElementById("bodyContentcercaPopup").appendChild(img);
// img = '<img src="http://upload.wikimedia.org/wikipedia/commons/e/ee/Nuvola_apps_comic_strip-cerca.png" style="display: block; left: '+x+'px; top: '+y+'px; height:55px; position:absolute; width:83px; z-index:1000;">';
img.style.left = (x+10)+"px";
var img= (BrowserDetect.browser=="Explorer")? new Image() : document.createElement('img');
img.idstyle.top = 'cercaPopup'(y-10-37)+"px";
img.style.display = "blocknone";
img.src = 'http://upload.wikimedia.org/wikipedia/commons/e/ee/Nuvola_apps_comic_strip-cerca.png';
img.style.height="37px";
img.style.position = "fixed";
img.style.width = "50px";
img.style.zIndex = 1000;
img.style.display = "block";
img.style.left = (x+10)+"px";
img.style.top = (y-10-37)+"px";
document.getElementById("bodyContent").appendChild(img);
}
 
Riga 224 ⟶ 215:
else
document.onmouseup = listenerMouseUp; //IE
 
var img= (BrowserDetect.browser=="Explorer")? new Image() : document.createElement('img');
img.id = 'cercaPopup';
// img.src = '<img src="http://upload.wikimedia.org/wikipedia/commons/e/ee/Nuvola_apps_comic_strip-cerca.png" style="display: block; left: '+x+'px; top: '+y+'px; height:55px; position:absolute; width:83px; z-index:1000;">';
img.style.height="37px";
img.style.position = "fixed";
img.style.width = "50px";
img.style.zIndex = 1000;
document.getElementById("bodyContent").appendChild(img);
 
})