In my javascript I use the jquery animate() function to slide tweets automatically.
Code:
function movefeeds() {
var element = jQuery("#Feeds");
var position = element.position();
if(position.left == 2000){
element.css("left", "500px");
}
element.animate({ "left": "-=500px" }, "slow");
}
In every browser to code does exactly what it must do: sliding. But in Chrome it is not sliding always, it is sliding half the time. And even if it slides, left gets really bad values (ie. 584.2132312 instead of 500, 1000 etc.)
Any suggestion would be appreciated 🙂
EDIT: Looks like a css issue: chrome (from version 11) seems to have some trouble with overflow:hidden
EDIT 2: See this question
Could not find any solution for usingoverflow:hiddenin chrome.So I removed the
overflowfrom my css and put some div’s with z-index over the tweets to hide them.Found my solution in this: Question