이미지 크게 보기 팝업 높이 크기 수정

This commit is contained in:
chicpro
2013-03-08 13:35:32 +09:00
parent 764f5bbdf9
commit 802d83c810
3 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ if(is_file($filepath)) {
<script>
var win_w = <?=$width?>;
var win_h = <?=$height?>;
var win_h = <?=$height?> + 70;
var win_l = (screen.width - win_w) / 2;
var win_t = (screen.height - win_h) / 2;

View File

@ -206,7 +206,7 @@ $(window).load(function() {
$(function() {
$("a.view_image").click(function() {
window.open(this.href, "large_image", "top=10,left=10,width=10,height=10,resizable=yes,scrollbars=no,status=no");
window.open(this.href, "large_image", "location=yes,links=no,toolbar=no,top=10,left=10,width=10,height=10,resizable=yes,scrollbars=no,status=no");
return false;
});

View File

@ -204,7 +204,7 @@ $(window).load(function() {
$(function() {
$("a.view_image").click(function() {
window.open(this.href, "large_image", "top=10,left=10,width=10,height=10,resizable=yes,scrollbars=no,status=no");
window.open(this.href, "large_image", "location=yes,links=no,toolbar=no,top=10,left=10,width=10,height=10,resizable=yes,scrollbars=no,status=no");
return false;
});