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)
{
// 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;">';▼
var img= (BrowserDetect.browser=="Explorer")? new Image() : document.createElement('img');▼
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";
▲ document.getElementById("bodyContent").appendChild(img);
}
Riga 224 ⟶ 215:
else
document.onmouseup = listenerMouseUp; //IE
img.id = 'cercaPopup';
▲
document.getElementById("bodyContent").appendChild(img);
})
|