source: branches/version-2_5-dev/html/js/navi.js @ 19712

Revision 19712, 1.1 KB checked in by nanasess, 13 years ago (diff)
  • #628(未使用処理・定義などの削除)
    • html/misc 以下のファイル
    • キャンペーン関連の tpl ファイル
    • アンケート関連の tpl ファイル
    • shopping 以下の不要と思われるファイルを削除
  • #642(共通ロジックの機能向上)
    • フロント, 管理画面共通で使用する JavaScript? ファイルを html/js 以下へ移動
Line 
1/*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
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
23function chgImg(fileName,img){
24    if (typeof(img) == "object") {
25        img.src = fileName;
26    } else {
27        document.images[img].src = fileName;
28    }
29}
30
31function chgImgImageSubmit(fileName,imgObj){
32    imgObj.src = fileName;
33}
Note: See TracBrowser for help on using the repository browser.