source: branches/version-2_12-dev/html/js/win_op.js @ 21867

Revision 21867, 1.8 KB checked in by nakanishi, 12 years ago (diff)

#1831 Copyright Update

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
RevLine 
[19712]1/*
2 * This file is part of EC-CUBE
3 *
[21867]4 * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved.
[19712]5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 */
22
[20566]23function win01(URL,Winname,Wwidth,Wheight){
24    var WIN;
25    WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=no,resizable=no,toolbar=no,location=no,directories=no,status=no");
26    WIN.focus();
27}
[19712]28
[20566]29function win02(URL,Winname,Wwidth,Wheight){
30    var WIN;
31    WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no");
32    WIN.focus();
33}
34
35function win03(URL,Winname,Wwidth,Wheight){
36    var WIN;
37    WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no");
38    WIN.focus();
39}
40
[19712]41function winSubmit(URL,formName,Winname,Wwidth,Wheight){
[20566]42    var WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no");
[19712]43    document.forms[formName].target = Winname;
[19965]44    WIN.focus();
[19712]45}
Note: See TracBrowser for help on using the repository browser.