실시간 가입현황을 외부사이트에서 출력하려고 하는데요..

실시간 가입현황을 외부사이트에서 출력하려고 하는데요..

QA

실시간 가입현황을 외부사이트에서 출력하려고 하는데요..

답변 2

본문

텍스트 슬라이더와 함께 어떤 사이트 실시간 가입현황을 외부사이트에서
출력하려고 하는데요..  이미지 구성은 출력이 되는데.. 문제는 회원 DB와 연결해야하는
문제가 남아서요.. 이게 가능하긴 한지요 ㅎ 텍스트 슬라이더도 동작은 안되네요..

우선 전체 구성 소스중 문제가 되는 회원호출 부분 스크립트만 남깁니다.
페이지소스보기로 가져오니.. 현재 출력되고 있는 회원목록만 복사되는데
실시간으로 해당 사이트에서 회원목록을 호출하려면 이부분에서 해결이 가능한지요.


<SCRIPT language=javascript>
var msc = new TextSlider('msc'); // 클래스 명을 인자로 넘긴다.
msc.item =["<div style=height:34px>백콩<div class=mdate margin-top:0px>2014-05-08</div></div>","<div style=height:34px>병알공신<div class=mdate margin-top:0px>2014-05-08</div></div>","<div style=height:34px>삼치<div class=mdate margin-top:0px>2014-05-08</div></div>","<div style=height:34px>모리꼬네<div class=mdate margin-top:0px>2014-05-08</div></div>","<div style=height:34px>수연호<div class=mdate margin-top:0px>2014-05-08</div></div>","<div style=height:34px>a바보a<div class=mdate margin-top:0px>2014-05-08</div></div>","<div style=height:34px>거지얼꽝<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>쁕…<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>민주사랑<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>깡통청년<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>종구몽구<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>부자나라<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>열심남<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>여자최민수<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>행복한 부자…<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>쭌서맘<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>하늘창<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>7866<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>건모<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>미이니<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>붉은숨결<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>꿈과희망<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>Crystalll<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>부자되장<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>쪼오쪼<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>불꽃남<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>그때그인간<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>오공이<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>삼암리<div class=mdate margin-top:0px>2014-05-07</div></div>","<div style=height:34px>비던<div class=mdate margin-top:0px>2014-05-07</div></div>",];
msc.width = 80; // Ticker의 가로길이
msc.height = 132; // Ticker의 세로길이
msc.speed = 20; // text가 slide되는 빠르기. 단위는 ms
msc.pixel = 1;  // text가 한번 slide할 때 움직일 픽셀.
msc.interval = 2000; // text가 slide된 후 다음 text가 slide되기 까지의 대기시간
msc.size = 34;  // text간의 간격. height와 같거나 크게 하여야 제대로 보인다.
msc.direction = 'up'; // text가 slide될 방향
msc.align = 'left'; // text의 정렬 (left|right)
msc.init(); // TextSlider의 작동을 지시한다.
//-->
</SCRIPT>

이 질문에 댓글 쓰기 :

답변 2

xml 형태로 출력한 후 외부 사이트에서 로드해서 파싱하는 방법이 좋을것 같네요 ^^
g5_member에 있는 자료를 불러오시면 가능합니다.
$sql = " select * from g5_member"; 

제 사이트가 아니라 다른 사람의 사이트에서 호출해야 해서요 ...
저 위의 소스 중
msc.item =[]  이 부분에 신규회원 목록을 자동으로
호출할 방법이 알고싶습니다. 가능한지요..ㅎ;
그 사이트가 그누보드 기반인거 같긴하네요..

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 18
© SIRSOFT
현재 페이지 제일 처음으로