first commit
This commit is contained in:
commit
4d332ef662
27586 changed files with 3281783 additions and 0 deletions
54
rus/admin/_V4/_js/stampe.js
Normal file
54
rus/admin/_V4/_js/stampe.js
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
/////////////////////////////////////////////////////////////////
|
||||
// gestione window secondarie di ricerca
|
||||
//v. 07-03-2005
|
||||
/////////////////////////////////////////////////////////////////
|
||||
|
||||
var printWin;
|
||||
var debugPrint=false;
|
||||
var wwD="700";
|
||||
var whD="500";
|
||||
|
||||
function openPrint() {
|
||||
|
||||
searchSvlt = arguments[0];
|
||||
//campo di ritorno completo
|
||||
|
||||
//larghezza finestra di ricerca
|
||||
if (arguments[1]!=null)
|
||||
{
|
||||
windowWidth=arguments[1];
|
||||
}
|
||||
else
|
||||
{
|
||||
windowWidth=wwD;
|
||||
}
|
||||
//altezza finestra di ricerca
|
||||
if (arguments[2]!=null)
|
||||
{
|
||||
windowHeigth=arguments[2];
|
||||
}
|
||||
else
|
||||
{
|
||||
windowHeigth=whD;
|
||||
}
|
||||
if (searchSvlt.charAt(0)=="/")
|
||||
{//path assoluto
|
||||
searchSvlt=webApp+searchSvlt;
|
||||
}
|
||||
|
||||
if(debugPrint==false)
|
||||
{
|
||||
|
||||
printWin = window.open(searchSvlt, "Print_Window","width="+windowWidth+",height="+windowHeigth+",status=no,resizable=no,top=100,left=100,scrollbars=no");
|
||||
}
|
||||
else
|
||||
{
|
||||
printWin = window.open(searchSvlt);
|
||||
}
|
||||
|
||||
printWin.opener = self;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue