From 426103d14d455b266968555b7f6162e8b262bcb3 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 8 Mar 2013 16:26:41 +0900 Subject: [PATCH 01/16] =?UTF-8?q?#358=20=EC=97=90=20=EB=94=B0=EB=A5=B8=20s?= =?UTF-8?q?creen.height=20=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/view_image.php | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/bbs/view_image.php b/bbs/view_image.php index f1918aabf..f7c3142fc 100644 --- a/bbs/view_image.php +++ b/bbs/view_image.php @@ -44,14 +44,22 @@ var win_t = (screen.height - win_h) / 2; if(win_w > screen.width) { win_l = 0; - win_w = screen.width; - win_h = parseInt((win_w * screen.height) / screen.width); + win_w = screen.width - 20; + + if(win_h > screen.height) { + win_t = 0; + win_h = screen.height - 40; + } } if(win_h > screen.height) { win_t = 0; - win_h = screen_heigth; - win_w = parseInt((win_h * screen.width) / screen.height); + win_h = screen.height - 40; + + if(win_w > screen.width) { + win_w = screen.width - 20; + win_l = 0; + } } window.moveTo(win_l, win_t); From e6c56ac9a1a930b451d93b3ea03eed41c8215e04 Mon Sep 17 00:00:00 2001 From: whitedot Date: Fri, 8 Mar 2013 16:41:32 +0900 Subject: [PATCH 02/16] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90:=20=EA=B2=8C?= =?UTF-8?q?=EC=8B=9C=ED=8C=90=20=EC=84=A4=EC=A0=95=20TABLE=20=EB=A7=81?= =?UTF-8?q?=ED=81=AC=20=EC=8A=A4=ED=83=80=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_form.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/adm/board_form.php b/adm/board_form.php index a81bf4773..116152d86 100644 --- a/adm/board_form.php +++ b/adm/board_form.php @@ -128,13 +128,12 @@ $pg_anchor = "