2016-10-28 7 views
-1

私は以下を試しましたが、ループしているマーキーではありません。ループするか、他のjqueryが両方のループで機能しますか?&マウスオーバー機能?ループテキストのマーキーが必要で、マウスオーバー時に停止する

<marquee behavior="scroll" align="middle" direction="left" scrollamount="4" onmouseover="this.stop()" onmouseout="this.start()">Scrolling marquee</marquee 
+1

確認... – Leo

+0

はい、あなたは、コンテナの幅としてN回としてあなたmarqeeテキストのクローンを作成する必要があります。完了後、1つの子テキスト要素が親を終了するとすぐに、それを親に再度追加する必要があります。あなたは何を試しましたか? –

+0

」のような古い(非常に厄介な)htmlタグを使用することはお勧めできません。もちろん、glitter gifに囲まれている場合は.... –

答えて

0

<!DOCTYPE html> 
 
<html lang="en"> 
 
<head> 
 
<meta charset="utf-8"> 
 
<meta name="viewport" content="width=device-width, initial-scale=1"> 
 
<meta http-equiv="x-ua-compatible" content="ie=edge"> 
 
<title>My Example</title> 
 
</head> 
 
<body> 
 

 
<marquee behavior="scroll" align="middle" scrollamount="4" direction="left" onmouseover="this.stop();" onmouseout="this.start();"> 
 
Scrolling marquee 
 
</marquee> 
 

 
</body> 
 
</html>

0

あなたはLOOP属性を探しています。また、あなたの質問が読めないこのlink

<marquee LOOP=3 behavior="scroll" align="middle" direction="left" scrollamount="4" onmouseover="this.stop()" onmouseout="this.start()">Scrolling marquee</marquee>

関連する問題