묻고답하기

안녕하세요.
타이핑 스크롤러라는 소스를 구했습니다.

그냥.. 빈 공간에.. 커서가 자동으로 이동하면서 타이핑을 하면서,
특정 문장을 써주는 기능인데요. 이거.. 아래 소스 보시면 제가 붉은색으로 명시한 부분쪽에..
문장을 직접 수동으로 입력하게끔 되어 있습니다.

이걸.. xe 에서 특정 게시판의 최근 게시물로 처리할 방법은 없을까요?

(한마디로 공지사항 게시판에 등록된 게시물을 메인페이지 어디가에 이 소스를 써서, 타이핑 스크롤링 시키고 싶은겁니다 ^^)

<script language="JavaScript1.2">
<!--

/*
Typing Scroller
Submitted by bengaliboy00@hotmail.com (hp: http://www.angelfire.com/nt/bengaliboy/)
With modifications by Dynamicdrive.com
For full source code, usage terms, and 100s more scripts, visit http://dynamicdrive.com
*/

//Secify scroller contents
var line=new Array()
line[1]="This is an awsome script"
line[2]="It brings up the text you want..."
line[3]="One letter at a time"
line[4]="You can add and subtract lines as you like."
line[5]="It\'s very cool and easy to use"

//Specify font size for scoller
var ts_fontsize="16px"

//--Don't edit below this line

var longestmessage=1
for (i=2;i<line.length;i++){
if (line[i].length>line[longestmessage].length)
longestmessage=i
}

//Auto set scroller width
var tscroller_width=line[longestmessage].length

lines=line.length-1 //--Number of lines

//if IE 4+ or NS6
if (document.all||document.getElementById){
document.write('<form name="bannerform">')
document.write('<input type="text" name="banner" size="'+tscroller_width+'"')
document.write('  style="background-color: '+document.bgColor+'; color: '+document.body.text+'; font-family: verdana; font-size: '+ts_fontsize+'; font-weight:bold; border: medium none" onfocus="blur()">')
document.write('</form>')
}

temp=""
nextchar=-1;
nextline=1;
cursor="\\"
function animate(){
if (temp==line[nextline] & temp.length==line[nextline].length & nextline!=lines){
nextline++;
nextchar=-1;
document.bannerform.banner.value=temp;
temp="";
setTimeout("nextstep()",1000)}
else if (nextline==lines & temp==line[nextline] & temp.length==line[nextline].length){
nextline=1;
nextchar=-1;
document.bannerform.banner.value=temp;
temp="";
setTimeout("nextstep()",1000)}
else{
nextstep()}}

function nextstep(){

if (cursor=="\\"){
cursor="|"}
else if (cursor=="|"){
cursor="/"}
else if (cursor=="/"){
cursor="-"}
else if (cursor=="-"){
cursor="\\"}


nextchar++;
temp+=line[nextline].charAt(nextchar);
document.bannerform.banner.value=temp+cursor
setTimeout("animate()",25)}

//if IE 4+ or NS6
if (document.all||document.getElementById)
window.onload=animate
// -->
</script>


글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
쿵푸팬더 확장변수에 숫자를 넣고 카운트를 하고 싶습니다/  
에스아이티 XE설치중에 MySQL 오류 해결 부탁드립니다~  
시지푼수 어떤 위젯인지 모르겠습니다. [1] 2011.08.20 by 웹 엔진
오버레이 롤오버가 안되는데 한번 봐주세요 ㅜㅜ [1] 2011.08.20 by 웹 엔진
초급이 홈페이지 가장위와 밑에 <? include '머시기'; ?> [1] 2011.08.20 by 송동우
비밀얌 네이버 신디케이션 및 robots.txt 문의  
빅스타 질문이요  
코코팜 옛날 제로보드 처럼 게시판만 쓸 수 없나요? [1] 2011.08.20 by 송동우
고지명 웹메트릭스  
S시온스S proc로 처리된걸 alert로 알림띄우고싶어요 (이미지잇음)  
노엔젤 안녕하세요. 맴버보기부분에 질문이있습니다 ㅠㅠ  
물비늘 페이지 로딩 후 스타일시트가 깨져보일때 ?  
토끼매니아 모바일 접속주소 바꿀려면?  
가브리엘79 게시판에 이미지 첨부 시 다운로드목록에 이미지 파일은 없애는 방법 [2] 2011.08.20 by djaos
마스 한글비밀번호가 가능할까요? [2] 2011.08.20 by CMD
artlab xe_statistics 필드를 이전하고 싶습니다. [1] 2011.08.20 by CMD
고수군 getRankUploadedCount.xml 특정 확장자만 Query 하려면?  
mychul5 이곳 게시판처럼 카테고리를 탭형식으로 하는 예제가 있으면 소개 부탁드려요. [1] 2011.08.20 by 송동우
도라란 첨부파일 확장자가 torrent일 경우 따로 표시해주기 [1] 2011.08.20 by 송동우
도라란 첨부파일 확장자가 torrent일 경우 따로 표시해주기 [2] 2011.08.20 by 송동우