묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
이모티콘 목록은 어떤 순서에 의해서 배열이 되나요??
2007.09.07 20:19
먼저 폴더를 읽어오고, 그 폴더 안의 파일의 이름을 기준으로 읽어오는 것으로 생각하고 실컷 파일이름을 정리했는데,
파일이름의 순서로 읽어오는 것이 아니었군요... ㅠ.ㅠ;;;;;;;;;
파일이름 순서로 이모티콘 목록을 불러오려면 어떻게 하면 되나요?
또, 현재의 이모티콘 목록 배열 기준은 무엇인지 아시는 분 계시면 답변 바랍니다...
파일이름의 순서로 읽어오는 것이 아니었군요... ㅠ.ㅠ;;;;;;;;;
파일이름 순서로 이모티콘 목록을 불러오려면 어떻게 하면 되나요?
또, 현재의 이모티콘 목록 배열 기준은 무엇인지 아시는 분 계시면 답변 바랍니다...
댓글 4
-
Simluz님...
그렇다면 파일이름을 001,002,003,004,005.....099,100 이렇게 정해두면 당연히 저 순서대로 배열이 되어야 하는게 정상이 아닌가요?
그런데도 이모티콘 출력 컴포넌트에선 그렇게 배열이 안 되거든요...
뭔가 다른 규칙이 있는 듯 한데요????
물론 리눅스 서버입니다.. -
오~ 신기하네요....그럼 소스보기에서도 순서대로 나열되지 않겠군요...
그럼....클래스 파일에서 배열을 정렬하면 어떨까요......
재귀함수에서 $output을 정렬하거나... -
에구, 제가 모르는 것이 너무 많아서 클래스니 배열이니 하면 잘 모릅니다.
웹프로그래밍은 거의 지식이 전무하다고 보셔도 되거든요... 하하하...
그리고 이곳 공식 사이트에서도 마찬가지네요...
공식 사이트 이모티콘 출력 컴포넌트 소스보기 했더니 이모티콘 배열 순서가 아래와 같네요...
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn001.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn002.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn020.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn021.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn003.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" /><img src="/modules/editor/components/emoticon/tpl/images/msn/msn040.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn022.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn004.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn005.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn023.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn024.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn006.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn025.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn007.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" /><img src="/modules/editor/components/emoticon/tpl/images/msn/msn026.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn008.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn009.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
<img src="/modules/editor/components/emoticon/tpl/images/msn/msn027.gif" alt="emoticon" onclick="insertEmoticon(this); return false;" class="emoticon" />
:
: :
글쓴이 | 제목 | 최종 글 |
---|---|---|
XE | 공지 글 쓰기,삭제 운영방식 변경 공지 [16] | 2019.03.05 by 남기남 |
박원석754 | 갤러리 섬네일 이미지 크기 조정 질문드립니다. [1] | 2009.12.04 by yeum |
멀루할까 |
외부페이지에 회원로그인창을 넣으면...
[1]
![]() | 2009.12.04 by yeum |
가을타는남자 | 공지사항 옮기는방법 [1] | 2009.12.04 by Gekkou |
바벨2 |
한가지 질문드립니다(오류메세지)
[1]
![]() | 2009.12.04 by 바벨2 |
kaid | 로그인 전 백지 현상 [1] | 2009.12.04 by juossin |
손호원575 | 게시판 주소 에러 [1] | 2009.12.04 by juossin |
오순도순 | 메뉴이동이 되지않습니다. | |
유쾌동동 | cafe 2개 이상 생성이 안되네요.. ㅠ.ㅠ [1] | 2009.12.04 by 백성찬 |
지우529 |
회원 포인트와 레벨 / 1.3.0 체인지 파일 문제입니다.
[1]
![]() | 2009.12.04 by 백성찬 |
생초짜 | 확장변수에서.. | |
유샤인 | MySql 에서 볼수 있는 최고관리자 비밀번호 암호를 풀수있는 방법있나요, 고수님들.... [1] | 2009.12.04 by 백성찬 |
최영석222 | 관리자에게 문의 보내는 것 [1] | 2009.12.04 by 유샤인 |
비밀얌 | Fatal error: Undefined class name ''context'' | |
짬짜면 |
본문,사이드바 폭조절 방법좀 알려주세요 ..
![]() | |
검은토끼 | 흠 텍스트크기 고정못해두나요? [1] | 2009.12.04 by 백성찬 |
Pac_man |
레이아웃3단2단같은종류에서왼쪽오른쪽다적용하는법이요..ㅠㅜ
[1]
![]() | 2009.12.03 by 파파민 |
성내동짱 | 관리자모드가 백지입니다. [3] | 2009.12.03 by 성내동짱 |
namji | 레이아웃 적용이 안되요.. [1] | 2009.12.03 by DuRi |
안전군기 | 일반 페이지(html,php)에 제로보드 권한을 주려고 합니다. [1] | 2009.12.03 by 오뎅궁물 |
초보중초보 | 권한설정오류-캐수파일재생성해도 해결이 안됩니다. [4] | 2009.12.03 by 백성찬 |
a-Z 영문자를 읽은 후
특수 문자 순으로 로딩을 합니다.
(리눅스 서버)