| スクロールの動き |
|---|
| どこからどこまでをスクロールの範囲にするかを決めましたら次は「動き方」を設定することになります。 大きく分けて動きは方向が上下左右となりますが、アクションは3種類ありますので全部で4方向×3種類で12種類となります スクロールの動きを設定(どのような動きになるかはこれらで決めます) ■ behavior ="動き方" (指定がない場合「デフォルト」はscroll) ・ scroll 片側から出てきて横切る繰り返し <marquee behavior="scroll">scroll 片側から出てきて横切る繰り返し</marquee>
<marquee behavior="slide">slide 片側から出てきて端まで来ると停止</marquee>
<marquee behavior="alternate">alternate 左右(上下)に往復させる</marquee>
<marquee direction="left">left 右から左へ移動</marquee>
<marquee direction="right">right 左から右へ移動</marquee>
<marquee direction="up">up 下から上へ移動</marquee>
<marquee direction="down">down 上から下へ移動</marquee>
<marquee behavior="scroll" direction="left">scroll+left</marquee>
<marquee behavior="scroll" direction="right">scroll+right</marquee>
<marquee behavior="scroll" direction="up">scroll+up</marquee>
<marquee behavior="scroll" direction="down">scroll+down</marquee>
<marquee behavior="slide" direction="left">slide+left</marquee>
<marquee behavior="slide" direction="right">slide+right</marquee>
<marquee behavior="slide" direction="up">slide+up</marquee>
<marquee behavior="slide" direction="down">slide+down</marquee>
<marquee behavior="alternate" direction="left">alternate+left</marquee>
<marquee behavior="alternate" direction="right">alternate+right</marquee>
<marquee behavior="alternate" direction="up">alternate+up</marquee>
<marquee behavior="alternate" direction="down">alternate+down</marquee>
|


![]()