팝업레이어 관리에 입력된 내용 전체높이가 설정된 높이보다 긴 경우에 대한 패치 (5.0b22 기준)
참없다(uyong)님이 해당 현상에 대해 제보해주셨습니다.
이 수정 내용은 다음 패치에 반영될 예정입니다. (현재 5.0b22)
* bbs/newwin.inc.php
[code]<div id="hd_pops_<?php echo $nw['nw_id'] ?>" class="hd_pops" style="top:<?php echo $nw['nw_top']?>px;left:<?php echo $nw['nw_left']?>px;width:<?php echo $nw['nw_width'] ?>px;height:<?php echo $nw['nw_height'] ?>px">
<div class="hd_pops_con">[/code]를
[code]<div id="hd_pops_<?php echo $nw['nw_id'] ?>" class="hd_pops" style="top:<?php echo $nw['nw_top']?>px;left:<?php echo $nw['nw_left']?>px">
<div class="hd_pops_con" style="width:<?php echo $nw['nw_width'] ?>px;height:<?php echo $nw['nw_height'] ?>px">[/code]로 수정
* mobile/newwin.inc.php
[code]<div id="hd_pops_<?php echo $nw['nw_id'] ?>" class="hd_pops" style="top:<?php echo $nw['nw_top']?>px;left:<?php echo $nw['nw_left']?>px;width:<?php echo $nw['nw_width'] ?>px;height:<?php echo $nw['nw_height'] ?>px">
<div class="hd_pops_con">[/code]를
[code]<div id="hd_pops_<?php echo $nw['nw_id'] ?>" class="hd_pops" style="top:<?php echo $nw['nw_top']?>px;left:<?php echo $nw['nw_left']?>px;">
<div class="hd_pops_con" style="width:<?php echo $nw['nw_width'] ?>px;height:<?php echo $nw['nw_height'] ?>px">[/code]로 수정
* css/default.css
* css/mobile.css
[code].hd_pops_con {margin:0 0 30px}
.hd_pops_footer {position:absolute;bottom:0;left:0;padding:10px 0;width:100%;background:#000;color:#fff;text-align:right}[/code]를
[code].hd_pops_con {}
.hd_pops_footer {padding:10px 0;background:#000;color:#fff;text-align:right}[/code]로 수정
* 주의
이 패치는 사용자가 입력한 내용이 설정된 높이($nw['nw_height'])보다 클 경우 내용이 뚫고 나오는 문제가 있습니다.
.hd_pops_con {overflow-y:scroll} 와 같이 스타일을 변경하여 해결하실 수 있지만, 이럴 경우 가로스크롤이 생겨서 설정된 폭($nw['nw_width'])을 잡아먹게 되는 현상 역시 고려하셔야 합니다.
이 수정 내용은 다음 패치에 반영될 예정입니다. (현재 5.0b22)
* bbs/newwin.inc.php
[code]<div id="hd_pops_<?php echo $nw['nw_id'] ?>" class="hd_pops" style="top:<?php echo $nw['nw_top']?>px;left:<?php echo $nw['nw_left']?>px;width:<?php echo $nw['nw_width'] ?>px;height:<?php echo $nw['nw_height'] ?>px">
<div class="hd_pops_con">[/code]를
[code]<div id="hd_pops_<?php echo $nw['nw_id'] ?>" class="hd_pops" style="top:<?php echo $nw['nw_top']?>px;left:<?php echo $nw['nw_left']?>px">
<div class="hd_pops_con" style="width:<?php echo $nw['nw_width'] ?>px;height:<?php echo $nw['nw_height'] ?>px">[/code]로 수정
* mobile/newwin.inc.php
[code]<div id="hd_pops_<?php echo $nw['nw_id'] ?>" class="hd_pops" style="top:<?php echo $nw['nw_top']?>px;left:<?php echo $nw['nw_left']?>px;width:<?php echo $nw['nw_width'] ?>px;height:<?php echo $nw['nw_height'] ?>px">
<div class="hd_pops_con">[/code]를
[code]<div id="hd_pops_<?php echo $nw['nw_id'] ?>" class="hd_pops" style="top:<?php echo $nw['nw_top']?>px;left:<?php echo $nw['nw_left']?>px;">
<div class="hd_pops_con" style="width:<?php echo $nw['nw_width'] ?>px;height:<?php echo $nw['nw_height'] ?>px">[/code]로 수정
* css/default.css
* css/mobile.css
[code].hd_pops_con {margin:0 0 30px}
.hd_pops_footer {position:absolute;bottom:0;left:0;padding:10px 0;width:100%;background:#000;color:#fff;text-align:right}[/code]를
[code].hd_pops_con {}
.hd_pops_footer {padding:10px 0;background:#000;color:#fff;text-align:right}[/code]로 수정
* 주의
이 패치는 사용자가 입력한 내용이 설정된 높이($nw['nw_height'])보다 클 경우 내용이 뚫고 나오는 문제가 있습니다.
.hd_pops_con {overflow-y:scroll} 와 같이 스타일을 변경하여 해결하실 수 있지만, 이럴 경우 가로스크롤이 생겨서 설정된 폭($nw['nw_width'])을 잡아먹게 되는 현상 역시 고려하셔야 합니다.
게시판 목록
그누보드5 팁자료실
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 2485 | 1년 전 | 1257 | ||
| 2484 | 1년 전 | 860 | ||
| 2483 | 1년 전 | 705 | ||
| 2482 | 1년 전 | 1079 | ||
| 2481 | 1년 전 | 1178 | ||
| 2480 | 1년 전 | 835 | ||
| 2479 | 1년 전 | 1174 | ||
| 2478 | 1년 전 | 774 | ||
| 2477 | 1년 전 | 1584 | ||
| 2476 | 1년 전 | 920 | ||
| 2475 |
|
1년 전 | 930 | |
| 2474 | 1년 전 | 1512 | ||
| 2473 | 1년 전 | 857 | ||
| 2472 | 1년 전 | 916 | ||
| 2471 | 1년 전 | 783 | ||
| 2470 | 1년 전 | 1368 | ||
| 2469 | 1년 전 | 2954 | ||
| 2468 | 1년 전 | 851 | ||
| 2467 |
|
1년 전 | 1477 | |
| 2466 | 1년 전 | 796 | ||
| 2465 | 1년 전 | 1177 | ||
| 2464 | 1년 전 | 1347 | ||
| 2463 | 1년 전 | 1140 | ||
| 2462 |
|
1년 전 | 1165 | |
| 2461 | 1년 전 | 757 | ||
| 2460 | 1년 전 | 945 | ||
| 2459 | 1년 전 | 1340 | ||
| 2458 | 1년 전 | 1261 | ||
| 2457 |
|
1년 전 | 767 | |
| 2456 |
블랙캣77
|
1년 전 | 1492 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기