N

텍스트 랜덤

· 2007-05-21 (월) 08:12:14 · 3675
<script language="JavaScript">
var Quotation=new Array() // do not change this!
Quotation[0] = "<a href='<?=$g4['path']?>/roll/index.php'><font color='#000000'>포인트 게임 알바빠징고</font></a>";
Quotation[1] = "<a href='<?=$g4['bbs_path']?>/board.php?bo_table=support'><font color='#000000'>후원게시판</font></a>";
Quotation[2] = "<a href='<?=$g4['bbs_path']?>/board.php?bo_table=quiz'><font color='#000000'>퀴즈 [베타]</font></a>";
Quotation[3] = "<a href='<?=$g4['bbs_path']?>/board.php?bo_table=quiz'><font color='#000000'>퀴즈 [베타]</font></a>";
Quotation[4] = "<a href='<?=$g4['bbs_path']?>/board.php?bo_table=quiz'><font color='#000000'>퀴즈 [베타]</font></a>";
Quotation[5] = "<a href='<?=$g4['bbs_path']?>/board.php?bo_table=quiz'><font color='#000000'>퀴즈 [베타]</font></a>";
Quotation[6] = "<a href='<?=$g4['bbs_path']?>/board.php?bo_table=quiz'><font color='#000000'>퀴즈 [베타]</font></a>";
Quotation[7] = "<a href='<?=$g4['bbs_path']?>/board.php?bo_table=quiz'><font color='#000000'>퀴즈 [베타]</font></a>";
Quotation[8] = "<a href='<?=$g4['bbs_path']?>/board.php?bo_table=quiz'><font color='#000000'>퀴즈 [베타]</font></a>";
Quotation[9] = "<a href='<?=$g4['bbs_path']?>/board.php?bo_table=quiz'><font color='#000000'>퀴즈 [베타]</font></a>";
var Q = Quotation.length;
var whichQuotation=Math.round(Math.random()*(Q-1));
function showQuotation(){document.write(Quotation[whichQuotation]);}
         showQuotation();
</script>
 
 
 
예전 리뉴얼전 그누보드 상단에 랜덤으로 나오는 모습을 보고 따라해봤습니다.
|
댓글을 작성하시려면 로그인이 필요합니다.

그누4 팁자료실

3,309건

그누보드4와 관련된 팁을 여러분들과 함께 공유하세요. 나누면 즐거움이 커집니다.

+
제목 글쓴이 날짜 조회
07-06-09 조회 8,446
07-06-08 조회 3,332
07-06-06 조회 3,722
07-06-06 조회 2,795
07-06-05 조회 1만
07-06-05 조회 2,512
07-06-02 조회 7,020
07-05-31 조회 3,295
07-05-31 조회 5,822
07-05-27 조회 5,542
07-05-27 조회 3,374
07-05-26 조회 5,554
07-05-24 조회 2,797
07-05-24 조회 5,458
07-05-23 조회 3,636
07-05-23 조회 2,626
07-05-22 조회 4,100
07-05-21 조회 3,428
07-05-21 조회 3,581
07-05-21 조회 3,676