I am looking for a way to duplicate the <a>
tag within a DIV named box so that the text is displayed on a continuous line marquee without any breaks. As I am new here, please feel free to ask for more information in the comments. Thank you.
$('.box').marquee({
duration: 20000,
gap: 0,
delayBeforeStart: 0,
direction: 'left',
duplicated: true
});
.box {
margin: auto;
width: 100%;
height: 50px;
overflow: hidden;
}
.box1 {
margin-top: 14px;
position: relative;
}
.box1 li {
list-style: none;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/jquery.marquee/1.4.0/jquery.marquee.min.js"></script>
<div class="box">
<ul class="box1">
<li>
<a>TEXT MARQUEE</a>
<a>TEXT MARQUEE</a>
</li>
</ul>
</div>