Utente:Jalo/vector.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 196:
popup.style.top = (y-10-37)+"px";
popup.style.display = "block";
popup.onclick = function(window.open('http://it.wikipedia.org/w/index.php?title=Speciale%3ARicerca&search='+encodeURIComponent(testo),'searchPage');
//, 'left=20,top=20,width=500,height=300,toolbar=yes,resizable=yes');
);
}
Riga 209 ⟶ 212:
var t = document.getSelection ? document.getSelection().toString() : window.getSelection().toString();
t = t.replace(/^\s+/, '').replace(/\s+$/, ''); //trim
if (t)
|