liMarquee / Xml
Content

May not work if localhost

RESULT

CODE


<!--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(){
	$('.str7').liMarquee({
		xml:'text.xml' 		//Path to XML file
	});
})
</script> 


<!-- HTML code-->
<div class="str7 mWrap"></div>


<!-- XML file text.xml-->
<?xml version="1.0" encoding="utf-8"?>
<items>
	<item>
		<title>A MAN IS KNOWN BY THE COMPANY HE KEEPS.</title>
		<link>/</link>
	</item>
	<item>
		<title>A SOFT ANSWER TURNS AWAY WRATH.</title>
	</item>
	<item>
		<title>A ROLLING STONE GATHERS NO MOSS.</title>
		<link>/</link>
	</item>
	<item>
		<title>A MAN IS AS OLD AS HE FEELS, AND A WOMAN AS OLD AS SHE LOOKS.</title>
		<link>/</link>
	</item>
	<item>
		<title>A LIVING DOG IS BETTER THAN A DEAD LION.</title>
		<link>/</link>
	</item>
	<item>
		<title>A BIRD IN THE HAND IS WORTH TWO IN THE BUSH.</title>
		<link>/</link>
	</item>
</items>
			

Universal Marquee for Text, HTML and Images
More than 10 000 people have been using it

DOWNLOAD PLUGIN LIMARQUEE