/ / HTMLの<marquee>タグの速度を変更することは可能ですか? -html、マーキー

HTMLの<marquee>タグの速度を変更することは可能ですか? - html、マーキー

1つのマーキーが画面を離れると、短い時間のギャップの後、別の側から入ります。 この時間を短縮する方法はありますか?

回答:

回答№1の場合は32
<marquee behavior=scroll direction="left" scrollamount="5">Your message here</marquee>

scrollamountはテキストの速度を制御します。値が大きいほどスクロール速度が高くなります


答え№2の18

を使用してスクロール速度を制御できます scrollamount 属性、

例:

<marquee scrollamount="30">scrolling fast</marquee>
<marquee scrollamount="2">scrolling slow</marquee>

注:最小数を指定すると、スクロール速度が低下します


回答№3の6

特に制御する属性はありませんそれ。マーキーはとにかく信頼性の高いタグではありません。jQueryと.animate()関数の使用を検討することをお勧めします。


答え№4のための5

この属性にはミリ秒単位の時間がかかります。

遅延:100ミリ秒

<marquee scrolldelay="100">Scrolling text</marquee>

遅延:400ミリ秒

<marquee scrolldelay="400">Scrolling text</marquee>

回答№5の2

scrolldelay="number"


答え№6の2

を使用してマーキータグの速度を変更できます。 スクロール量 属性。

デフォルトの速度である整数値6を受け入れます。したがって、6より小さい値はマーキー効果を遅くします。

例:

<marquee scrollamount=4>Scrolling text</marquee>

続きを読む : http://code2care.org/pages/marquee-tag-scrollamount/

http://www.htmlcodetutorial.com/_MARQUEE_SCROLLAMOUNT.html

追伸:マーキーの使用は避けてください!


回答№7は0
         <body>
<marquee direction="left" behavior=scroll scrollamount="2">This is basic example of marquee</marquee>
<marquee direction="up">The direction of text will be from bottom to top.</marquee>
</body>

scrollamountを使用して速度を制御します。


回答№8の場合は0

scrollamountは、マーキーの速度を変更するために使用されます。

<marquee scrollamount="10">This is marquee with speed </marquee>

スクロール遅延ごとに速度10ピクセルのマーキー。

<marquee scrollamount="50">This is marquee with speed </marquee>

スクロール遅延ごとに速度50ピ​​クセルのマーキー。

<marquee scrollamount="100">This is marquee with speed </marquee>

スクロール遅延あたり100ピクセルの速度のマーキー。

他の例と詳細を参照してください。 http://tutorial.techaltum.com/marquee.html


回答№9の場合は0

scrolldelayを追加して速度を変更できます

<marquee style="font-family: lato; color: #FFFFFF" bgcolor="#00224f" scrolldelay="400">Now the Speed is Delay to 400 Milliseconds</marquee>