News Ticker - 한줄 전광판
뉴스티커 입니다.
페이드 인아웃 방식으로 글자가 바뀌는 한줄 전광판입니다.
skin/latest/ 아래 업로드 해주세요
설치
g4m_newsticker.js 파일은 js 에 복사해 넣으세요
head.sub.php 파일에
<script type="text/javascript" src="<?php echo $g4['path']?>/js/g4m_newsticker.js"></script>
<script type="text/javascript">
//<![CDATA[
$(function(){
$(".newsticker").newsticker();
});
//]]>
</script>
추가
css/style.css 에 스타일 추가
/* latest skin - g4m_newsticker */
.newsticker {list-style-type: none; border:1px dashed #ccc; background-color:#515151; padding:3px; margin:0; height:18px; line-height: 18px; overflow:hidden; text-align:center;}
.newsticker li a{font-weight: bold; text-decoration: none;color: #FFFF80}
출력하고 싶은 부분에
<div style="width: 200px;">
<?= latest('g4m_newsticker', "게시판명", 4, 34); ?>
</div>
추가해 주세요.
스타일은 사이트에 맞게 수정하세요.
페이드 인아웃 방식으로 글자가 바뀌는 한줄 전광판입니다.
skin/latest/ 아래 업로드 해주세요
설치
g4m_newsticker.js 파일은 js 에 복사해 넣으세요
head.sub.php 파일에
<script type="text/javascript" src="<?php echo $g4['path']?>/js/g4m_newsticker.js"></script>
<script type="text/javascript">
//<![CDATA[
$(function(){
$(".newsticker").newsticker();
});
//]]>
</script>
추가
css/style.css 에 스타일 추가
/* latest skin - g4m_newsticker */
.newsticker {list-style-type: none; border:1px dashed #ccc; background-color:#515151; padding:3px; margin:0; height:18px; line-height: 18px; overflow:hidden; text-align:center;}
.newsticker li a{font-weight: bold; text-decoration: none;color: #FFFF80}
출력하고 싶은 부분에
<div style="width: 200px;">
<?= latest('g4m_newsticker', "게시판명", 4, 34); ?>
</div>
추가해 주세요.
스타일은 사이트에 맞게 수정하세요.
|
댓글을 작성하시려면 로그인이 필요합니다.
그누4 DTD 스킨
44건그누보드4 DTD 버전 스킨 전용게시판 입니다. 스킨의 저작권은 해당 스킨 제작자님께 있으며, 그누보드의 저작권과 다를 수 있습니다. 스킨 다운로드시 감사의 코멘트를 남기시면 제작자에게 큰 힘이됩니다. ^^y
댓글 2개