EDIT: Juan Mendez’s solution fixed this particular problem, but does not explain the more general question of why this worked on 32 bit and not 64 bit for the exact same browser. Just makes me wonder what other issues like this might exist and how to take preventative action against them… Here is the original question:
I have IE 9 installed on two Windows 7 machines, one 32 bit and the other 64. All of the IE options / security settings are identical.
On the 32 bit machine, the following website displays correctly. Notice the scrolling social media icons about midway down the page are in motion, scrolling to the left:
http://www.nba.com/warriors/social-media-new-test
On the 64 bit machine, the script doesn’t seem to be running as the icons do not move. Other scripts on the page are running fine (for instance the header has some javascript controlling which image to display).
Here is the code which makes the icons move, however I fear this is a larger (less specific) problem:
$(document).ready(function() {
setInterval(scrollIcons, 40);
});
function scrollIcons() {
var i, thisPos, newPosLeft;
for (i=0; i < numIcons; i++) {
thisPos = $(iconButtons[i]).position();
newPosLeft = thisPos.left - (1 * scrollspeed);
if (newPosLeft < SLIDERLEFTBORDER) newPosLeft = SLIDERRIGHTBORDER;
$(iconButtons[i]).attr("style", "left: " + newPosLeft + "px;");
}
}
Anyone know what the issue could be? Am I wrong about the 64 bit vs. 32 bit assumption? That just seems to be the only difference between the machines to me.
When I run your page on IE 8 64-bit, I get the following error:
Use
jQueryinstead since you’re already using in other places