[jQuery] jQuery.Marquee 흐르는 글씨
본문
<div class="marquee">왼쪽으로 흘러갑니다...</div>
<sytle>
.marquee {overflow: hidden;}   
</style>
<script>
/**
 * Example of starting a plugin with options.
 * I am just passing some of the options in the following example.
 * you can also start the plugin using $('.marquee').marquee(); with defaults
*/
$('.marquee').marquee({
    //duration in milliseconds of the marquee
    duration: 15000,
    //gap in pixels between the tickers
    gap: 1000,
    //time in milliseconds before the marquee will start animating
    delayBeforeStart: 0,
    //'left' or 'right'
    direction: 'left',
    //true or false - should the marquee be duplicated to show an effect of continues flow
    duplicated: true,
    pauseOnHover:true
});    
</script>
관련링크
댓글목록 0
등록된 댓글이 없습니다.




 
