ciao...volevo sapere se qualcuno riesce a dirmi se questa funzione javascript prevede uno SPOSTAMENTO in termini di spazio(pixel)
}
function operatesto() {
var a="";
var b="";
var aa="";
var bb="";
a1=0;
a2=0;
p="";
r=0;
// alert("pri"+clk1);
document.qform.elencoparole.focus();
if (clk1 >= 0){
// and , or , near
clk2 = document.qform.elencoparole.selectedIndex;
if (clk2!=clk1){
a=document.qform.elencoparole.options[clk1].text;
b=document.qform.elencoparole.options[clk2].text;
c=document.qform.elencoparole.options[clk1].value;
d=document.qform.elencoparole.options[clk2].value;
// alert (a);
// alert (b);
// alert (c);
// alert (d);
ic= c.indexOf(";");
cc=c.substring(0,ic);
id= d.indexOf(";");
dd=d.substring(0,id);
if (dd==cc){
f=op;
clk2 = -1;
clk1 = -1;
op = "";
top.dum.location.assign('dom.asp?a='+ a+'&b='+b+'&c='+c+'&op='+f);
return true;
}
else {
alert("Operazione consentita soltanto tra ricerche nello stesso archivio");
}
}
}
clk2 = -1;
clk1 = -1;
op = "";
}