팝업레이어 관리에 입력된 내용 전체높이가 설정된 높이보다 긴 경우에 대한 패치 (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 팁자료실
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 공지 | 3년 전 | 4415 | ||
| 294 | 11년 전 | 7915 | ||
| 293 | 11년 전 | 14782 | ||
| 292 | 11년 전 | 8091 | ||
| 291 | 11년 전 | 9118 | ||
| 290 | 11년 전 | 7527 | ||
| 289 | 11년 전 | 7924 | ||
| 288 | 11년 전 | 8345 | ||
| 287 | 11년 전 | 20586 | ||
| 286 | 11년 전 | 9894 | ||
| 285 | 11년 전 | 10434 | ||
| 284 | 11년 전 | 8247 | ||
| 283 | 11년 전 | 7205 | ||
| 282 | 11년 전 | 5988 | ||
| 281 | 11년 전 | 11191 | ||
| 280 |
|
11년 전 | 8103 | |
| 279 | 11년 전 | 13442 | ||
| 278 | 11년 전 | 9908 | ||
| 277 | 11년 전 | 10362 | ||
| 276 | 11년 전 | 14642 | ||
| 275 |
|
11년 전 | 18262 | |
| 274 | 11년 전 | 6514 | ||
| 273 | 11년 전 | 8056 | ||
| 272 | 11년 전 | 10450 | ||
| 271 | 11년 전 | 14666 | ||
| 270 | 11년 전 | 7941 | ||
| 269 | 11년 전 | 8698 | ||
| 268 | 11년 전 | 7357 | ||
| 267 | 11년 전 | 9080 | ||
| 266 | 11년 전 | 7507 | ||
| 265 | 11년 전 | 13510 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기