<!--If you have already use jquery, then this line is not necessary-->
<script src="https://code.jquery.com/jquery-3.1.0.js"></script>
<!-- Plugins files-->
<link rel="stylesheet" href="css/liMarquee.css">
<script src="js/jquery.liMarquee.js"></script>
<!-- Initialization of plugin -->
<script>
$(window).on('load',function(){
var strEl = $('.str4');
strEl.liMarquee({
direction: 'left'
});
//By clicking on this button to change content
$('.changeContent').on('click',function(){
var newContent = $('.newContentField_2').val();
strEl.liMarquee('removeContent');
strEl.liMarquee('addContent',newContent);
return false;
})
})
</script>
<!-- HTML code-->
<div class="str4 mWrap"></div>
Universal Marquee for Text, HTML and Images
More than 10 000 people have been using it