jquery - Some Javascript Not Running Properly in 64 Bit Internet Explorer -


edit: juan mendez's solution fixed particular problem, not explain more general question of why worked on 32 bit , not 64 bit exact same browser. makes me wonder other issues might exist , how take preventative action against them... here original question:


i have ie 9 installed on 2 windows 7 machines, 1 32 bit , other 64. of ie options / security settings identical.

on 32 bit machine, following website displays correctly. notice scrolling social media icons midway down page in motion, scrolling left:

http://www.nba.com/warriors/social-media-new-test

on 64 bit machine, script doesn't seem running icons not move. other scripts on page running fine (for instance header has javascript controlling image display).

here code makes icons move, fear larger (less specific) problem:

$(document).ready(function() {     setinterval(scrollicons, 40); });  function scrollicons() {     var i, thispos, newposleft;      (i=0; < 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 issue be? wrong 64 bit vs. 32 bit assumption? seems difference between machines me.

when run page on ie 8 64-bit, following error:

// object doesn't support property or method divs = document.getelementsbyclassname('icon_socialmedia'); 

use jquery instead since you're using in other places


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -