본문 바로가기

paran/[ Script ]

마퀴태그를 이용한 슬라이드

[소스]

<table width="테이블 가로넓이" height="테이블 세로길이" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="가로넓이" height="세로길이" border="0">
<marquee direction="right" width="96" height="96" scrollamount="3">
<img src="이미지주소" width="가로넓이" height="세로길이" border="0">
<img src="이미지주소" width="가로넓이" height="세로길이" border="0">
<img src="이미지주소" width="가로넓이" height="세로길이" border="0">
<img src="이미지주소" width="가로넓이" height="세로길이" border="0">
<img src="이미지주소" width="가로넓이" height="세로길이" border="0">
</marquee></td></tr>
</table>

[설명]

이미지 가로 넓이,세로길이 넣어주시고,scrollamount="이동속도"(숫자가 작을수록 느림)

marquee direction="이동방향" - right(오른쪽),left(왼쪽),top(위),down(아래)