:master: :master: :master: :master:
scusami andrea ma non capisco una mina di javascripts....
mi spiace ma con me dovete pensare ad un analfabeta di javascript... non riesco a "somare" le cose perchè non ho le basi......
[index.php]
<head>
<script language="javascript">
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left ='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
</script>
</head>
<body>
<form action=index.php>
<input type="hidden" name="id" value="2101">
<table>
<tr>
<td>Cliente</td>
<td><input type="text" name="cli">
Cerca
</td>
</tr>
</table>
</form>
</body>
[/index.php]
[cerca.php]
<?
// cerca su Mysql vaiabile=> cli
//stampa
< a herf
<script>
function InviaCod(){
opener.document.NomeFormFinestraMadre.NomeCampoDaP opolare.value=document.NomeFormPopup.NomeCampoPopu p.value;
//self.close();
}
</script>
......
![]()
![]()
![]()
non ci capisco...
Flavio