쪽지 2 - pending issues - 도움을 요청드립니다 ^^

- 불여우에서 쪽지보내기를 누르면, 글쓰기 밑에 파일 찾아보기란이 두개가 나오면서, 찾아보기 버튼은 오른쪽 옆으로 밀려납니다. IE6에서는 이상없습니다.

이부분에서 불여우 오류가 나왔어요. 원인??? 참 찾기 어렵네요. ㅠ..ㅠ

IE 7.0에서도 잘 됩니다.

<td width="75" align="right" >
<span style='overflow:hidden; width:73; height:22; background-image:url(<?=$member_skin_path?>/img/file.gif);'>
<input type=file class=ed name='memo_file' style='width:0;height:20;filter:alpha(opacity=0);selector-dummy : expression(this.hideFocus=true);cursor:pointer;' onchange='document.all.memo_file_show.value=this.value'>
</span>
</td>

* 이것은 도저히 해결이 불가능해서 패쓰~!!1
|

댓글 4개

아래의 팁을 /skin/member/basic/memo2_write.skin.php에 적용하면 되는데 어렵네요.
혹시 성공하신 분 계시면... 올려주시면 고맙겠습니다. IE에서 style이 깨어지고 ...
FF에서는 정상이고... 아~ 머리 아픕니다. ㅠ..ㅠ

http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=tipntech&wr_id=57449
<table width="98%" border="0" cellpadding="0" cellspacing="0"> <!-- 파일첨부하기 -->
<tr align="center">
<td width="65" height="26" align="left" class="style5" style="padding-left:5px;">파일첨부</td>
<td align="left" >
<!-- 메모2 파일첨부 FF 오류해결 테스트 시작 -->
<style>
#file_box {
position:relative ;
display:inline-block ;
width:73px ; height:22px
}
#file_box2 {
position:absolute ;
bottom:0 ; right:0 ;
display:inline-block ;
width:73px ; height:22px ;
overflow:hidden
}

#file {
position:absolute ;
bottom:0 ; right:0 ;
height:53px ;
font-size:224px ;
opacity:0 ; filter:alpha(opacity=0)
}
</style>

<script language="JavaScript">
function file_change(file) {
document.getElementById("file_name").value = file;
}
</script>

<input type="text" id="file_name" name="memo_file_show" disabled="disabled" style="width:120;" />

<span id="file_box">
<img align="absmiddle" src="<?=$member_skin_path?>/img/file.gif" alt="Browse..." border="0" />
<span id="file_box2">
<input type="file" id="file" name='memo_file' onchange="file_change(this.value)" />
</span>
</span>
<!-- 메모2 파일첨부 FF 오류해결 테스트 끝 -->
</td>
<td align="right" ><span class="style8"></span></td>
</tr>
</table>
이렇게 하니까 잘 되네요. FF에서요;;
IE에서도 잘 됩니다. width:120;은 R아서 조정하시면 됩니다.
감사합니다. 테스트 해보구... 적용하겠습니다. 왜 저는 안되었죠? ㅠ..ㅠ
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 플러그인

그누보드에는 여러가지 기능 추가가 쉽도록 제작 되었습니다. 플러그인의 저작권은 해당 플러그인 제작자님께 있으며, 그누보드의 저작권과 다를 수 있습니다. 플러그인 다운로드시 좋아요와 감사의 코멘트를 남기시면 제작자에게 큰 힘이됩니다. ^^y

+
제목 글쓴이 날짜 조회
17년 전 조회 1,268
17년 전 조회 4,289
17년 전 조회 2,034
17년 전 조회 931
17년 전 조회 1,331
17년 전 조회 877
17년 전 조회 816
17년 전 조회 864
17년 전 조회 1,820
17년 전 조회 2,111
17년 전 조회 2,125
17년 전 조회 1,143
17년 전 조회 2,016
17년 전 조회 1,046
17년 전 조회 3,895
🐛 버그신고