I have an issue with text slideshow. I want to make it slide to the left side of the div and make the new text slide from the right side. I tried few examples I found here, but nothing worked, except for one that basicaly broke the look of the page. This is my setup:
<div>
<p id="textslide"></p>
</div>
var quotes = [ "Q1", "Q2", "Q3", "Q4" ];
var i = 0;
setInterval(function() {
$("#textslide").html(quotes[i]);
if (i == quotes.length) {
i = 0;
} else {
i++;
}
}, 10 * 700);
Any ideas on how to make the slide effect?