XE Tip
xpressengine.com에서 제가 필요해 가져온 XE TIp들입니다.
BGM설치팁
글 수 186
2008.07
12
| 적용여부 | 적용 |
|---|---|
| 적용페이지 | ![]() |
블랙게시판 스킨을 사용해 볼려고 하니 다른 부분들은 어느정도 칼라를 바꾸어 볼 수가 있는데 에디터입력창의 글꼴 색상은 바꿀 수가 없네요,
아마 저의 생각으로는 에디터기 옵션에 글꼴색상을 변경 할 수 있어서 글꼴의 기본색상이 다른 곳에 지정되어져 있는 것 같습니다.
제가 찾아본 소스에서는 찾을 수가 없네요.
어디인가는 있을텐데......!
그래서 생각해낸 것이 에디터창안의 배경색상을 바꾸어 보기로 했다.
[수정파일] /zbxe/modules/editor/skins/default/editor.html 안에 136줄부터
배경이미지를 넣고 싶으시면
style="background:url(./modules/editor/skins/default/images/image.gif) no-repeat right top #ffffff;"
이렇게 소스를 변경하고 나면 에디터입력창 뿐만 아니라 댓글입력창도 함께 변경됩니다.
다른 글꼴들의 색상은 /css/editor.css 안을 살펴보면 버꿀 수 있습니다.
[이후에....]
폰트칼라 변환하는 소스를 찾았습니다.
/zbxe/modules/editor/tpl/js/editor.js 에서 68줄에 있는 font_color = '#000000'; 을 바꾸면 됩니다.
아마 저의 생각으로는 에디터기 옵션에 글꼴색상을 변경 할 수 있어서 글꼴의 기본색상이 다른 곳에 지정되어져 있는 것 같습니다.
제가 찾아본 소스에서는 찾을 수가 없네요.
어디인가는 있을텐데......!
그래서 생각해낸 것이 에디터창안의 배경색상을 바꾸어 보기로 했다.
[수정파일] /zbxe/modules/editor/skins/default/editor.html 안에 136줄부터
<!-- 에디터 출력 -->
<div class="editor_iframe_box"><iframe id="editor_iframe_{$editor_sequence}" frameborder="0" height="{$editor_height}" style=" background-color:transparent;" allowTransparency="true"></iframe></div>
<textarea id="editor_textarea_{$editor_sequence}" class="editor_iframe_textarea" style="display:none; height:{$editor_height}" rows="10" cols="10"></textarea>
style=" background-color:transparent;" 이 부분의 transparent(투명) 을 자신이 원하는 색상으로 바꾸어 주면 됩니다.<div class="editor_iframe_box"><iframe id="editor_iframe_{$editor_sequence}" frameborder="0" height="{$editor_height}" style=" background-color:transparent;" allowTransparency="true"></iframe></div>
<textarea id="editor_textarea_{$editor_sequence}" class="editor_iframe_textarea" style="display:none; height:{$editor_height}" rows="10" cols="10"></textarea>
배경이미지를 넣고 싶으시면
style="background:url(./modules/editor/skins/default/images/image.gif) no-repeat right top #ffffff;"
이렇게 소스를 변경하고 나면 에디터입력창 뿐만 아니라 댓글입력창도 함께 변경됩니다.
다른 글꼴들의 색상은 /css/editor.css 안을 살펴보면 버꿀 수 있습니다.
[이후에....]
폰트칼라 변환하는 소스를 찾았습니다.
/zbxe/modules/editor/tpl/js/editor.js 에서 68줄에 있는 font_color = '#000000'; 을 바꾸면 됩니다.
function editorStart(editor_sequence, primary_key, content_key, editor_height, font_color) {
if(typeof(font_color)=='undefined') font_color = '#000000';
if(typeof(font_color)=='undefined') font_color = '#000000';
제로보드사이트 EDU님의 팁입니다.
마우스오버시 배경이 제거되는 소스를 알려드릴게요.
마우스오버시 배경이 제거되는 소스를 알려드릴게요.
<!-- 에디터 출력 -->
<div class="editor_iframe_box"><iframe id="editor_iframe_{$editor_sequence}" frameborder="0" height="{$editor_height}" style="background:transparent url(./modules/editor/skins/default/images/image.gif) no-repeat right top;" allowTransparency="true" onmouseover="this.style.background=''; "></iframe></div>
<textarea id="editor_textarea_{$editor_sequence}" class="editor_iframe_textarea" style="display:none; height:{$editor_height}" rows="10" cols="10"></textarea>
<div class="editor_iframe_box"><iframe id="editor_iframe_{$editor_sequence}" frameborder="0" height="{$editor_height}" style="background:transparent url(./modules/editor/skins/default/images/image.gif) no-repeat right top;" allowTransparency="true" onmouseover="this.style.background=''; "></iframe></div>
<textarea id="editor_textarea_{$editor_sequence}" class="editor_iframe_textarea" style="display:none; height:{$editor_height}" rows="10" cols="10"></textarea>



자료실
MH 슬라이딩 배너 0....
MH 위젯스타일
prettyphoto - 본문내...
SCM 플레이어 사용법
XE 1.4.4.2버전 이후에...
네비게이션 위젯
IE 버젼별로 css 따로...
문서보기 유저 지정
문하우스 게시판스킨 V...
내용글 출력시 주소창에...





