The loop
attribute works fine for me with this test:
<marquee behavior="scroll" loop="2" scrollamount="4" direction="left" width="100px" height="170px">
<span>abc</span>
<span>def</span>
<span>ghi</span>
</marquee>
Live example: http://jsfiddle.net/8uqatjed/
But consider that the marquee
tag should NOT be used, as it is obsolete and not anymore supported by most recent browsers releases:
So, if I've understood good your request, this could be the reason it's not working well for you.