PHP script produces dynamic output, and print result on page into the div, here is example(php page):
<head>
<title></title>
<script>
setInterval(function() {
$('#reload').load('track.php');
}, 10000);
</script>
</head>
<body>
<div id="reload"></div>
</body>
</html>
I want show the output text in a scrolling marquee, with some styling applied. I know the marquee tag is deprecated, but this can be done using some javascript scroller. I searched for php and javascript combining but didn’t find anything reliable. Can someone show the solution to solve this task?
Please check a jQuery plugin with a lot of features:
http://jscroller2.markusbordihn.de/example/image-scroller-windiv/
And this one is “silky smooth”
http://remysharp.com/2008/09/10/the-silky-smooth-marquee
Try: